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
7 votes
Accepted

How to automatically reload daemons after `/etc/fstab` was changed?

What are the consequences if this is not done? systemd won’t be aware of the changes; whether that’s important or not depends on the nature of the changes. systemd provides a number of generators ...
Stephen Kitt's user avatar
5 votes

How to automatically reload daemons after `/etc/fstab` was changed?

What are the consequences if this is not done? That depends a bit on what's in there. But, for example, if you added (or changed) an entry that would lead to a directory being automatically mounted ...
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
3 votes

Problem mounting btrfs Luks-encrypted Fedora 42 system on Live-USB

Try this: unmount the home subvolume remount it as /mnt/sysroot/root/home bind-mount some essential directories under /mnt/sysroot/root: for i in proc dev sys sys/firmware/efi/efivars dev/pts ; do ...
cas's user avatar
  • 84.1k
1 vote
Accepted

NTFS disk is visible in windows but wont mount in Linux

There are 2 solutions that both worked for me. Always backup any important data first before you do anything, especially before trying any weird filesystem voodoo! The safe way. Copy all the data to ...
Neros's user avatar
  • 179
1 vote

XFS mount takes too long at boot

Here are some news after a few tests. # time mount /dev/mapper/mainvg-server--backup /backup/server real 4m47.342s user 0m0.011s sys 0m1.827s First, there is a pretty strange behavior when ...
darxmurf's user avatar
  • 1,188
1 vote

XFS mount takes too long at boot

I have XFS volumes, mounting in RHEL-8.10 and RHEL-9.6 {which is under XFS-5 vs XFS4 that was in RHEL-7} and I have volumes greater than 50TB with no delay issues or problems of any type when mounting....
ron's user avatar
  • 9,112
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