Questions tagged [unmounting]
The unmounting tag has no summary.
177 questions
8 votes
5 answers
1k views
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? Is a symlink better, that ...
2 votes
1 answer
231 views
Weird result mounting a tmpfs as root in the directory tree
Using unshare -Umr I created a new user, mount namespaces where the calling process is moved into. Then via mount -t tmpfs tmpfs / I mounted a new tmpfs instance on the root / of the directory tree ...
0 votes
1 answer
496 views
mount: can't read superblock
Problem Mount directory. sudo mkdir /mnt sudo chmod -R 777 /mnt sudo mount /dev/sdm1 /mnt, will work Do some work.. sudo umount /dev/sdm1, will work sudo mount /dev/sdm1 /mnt, will not work Partial/...
1 vote
1 answer
100 views
Mounting directories on demand or until logged
As from object, I want to mount some directories (with binding) at login and possibly unmount them at logout. At the beginning I tought about autofs, but it dynamically creates mount points, that's ok ...
1 vote
1 answer
62 views
zsh completion for umount: limit completion to one argument
when I use zsh completion for the umount command: umount /mnt/t<TAB> it completes the mounted filesystem /mnt/tmp. But when I accidentally press tab too many times, it tries to be too helpful, ...
2 votes
0 answers
481 views
How to shutdown service before systemd starts unmounting
I have a systemd service that uses After=local-fs.target to ensure that all mount points are established (if possible) before the service is started. Not being too familiar with the systemd ...
0 votes
0 answers
232 views
Mount but exclude one subfolder?
I have a Synology NAS in which I use the following command at NAS startup to create a symlink, which works fine: mount --bind "/volume1/SourceFolder" "/volume1/SymlinkFolder" Now I ...
0 votes
0 answers
259 views
Immediately after 'fusermount -u; umount' sporadically fails with Target is Busy
I've a script pre-condition: lsof /dir1 clear #/bin/bash ... fusermount -u /dir1/dir2 # unbind dir2 umount /dir1 # sporadically fails with 'Target is Busy' ... Why do I get ...