Skip to main content
16 votes

How to clearly indicate a device is not mounted

You kind of have it backwards. If I saw an empty directory that was usually a mount point, I would assume it wasn't mounted. If anything, you should put a file in your mounted filesystem to show that ...
user10489's user avatar
  • 10.9k
10 votes

How to clearly indicate a device is not mounted

Is it a good idea to add an empty file, say a file called NOT_MOUNTED, into mountpoint directory when the backup storage device is not mounted? Or will this be confusing? No. Leave that directory ...
Marcus Müller's user avatar
4 votes

How to clearly indicate a device is not mounted

Is a symlink better, that becomes broken when the device is unmounted? You don't need a symlink for this, you can use chattr with the i attribute: A file with the 'i' attribute cannot be modified: ...
A.L's user avatar
  • 2,000
2 votes

How to force low ssh-encryption

AES256 uses 14 rounds of the internal encryption algorithm, whereas AES128 only uses 10 rounds and is 40% faster. Add Ciphers [email protected] to your SSH configuration file to use this cipher. ...
forest's user avatar
  • 3,175
2 votes

BTRFS backup using send/receive: exclude files from the backup

btrfs send is for subvolume snapshots, and cannot exclude specific files. Further, the snapshots should be kept unchanged and read only if they are to be used as parents of incrementals. See the ...
John Mahowald's user avatar
1 vote

BTRFS backup using send/receive: exclude files from the backup

One solution is to create a sub-volume just for the data you DON'T want backed up and then move-and-symlink the directories For example, assuming all the files & directories you want to exclude (...
cas's user avatar
  • 84k
1 vote
Accepted

Atomic snapshots for BTRFS

Personally, the consistency I require between /home and / is a lot less strict. Snapshotting both may be especially useful in support of a major version upgrade of the software. However I don't ...
John Mahowald's user avatar
1 vote

Atomic snapshots for BTRFS

I suggest you try both variants and then compare the differences of the birth times of the snapshot directories. Then you know how much of a difference it is on your system. I would like to suggest ...
Hauke Laging's user avatar
  • 94.6k
1 vote

How to clearly indicate a device is not mounted

One option could be to use permissions to your advantage. If your backup program doesn't run as root, you could: set the ownership and permissions of the mountpoint to be accessible only by root, and ...
muru's user avatar
  • 77.9k

Only top scored, non community-wiki answers of a minimum length are eligible