If you go to the command line, you will see 3 links that explain why you cannot unmount "/usr", just type:
- Code: Select all
$ ls -l /
lrwxrwxrwx 1 root root 7 Feb 11 2016 bin -> usr/bin/
lrwxrwxrwx 1 root root 7 Feb 11 2016 lib -> usr/lib/
lrwxrwxrwx 1 root root 8 Feb 11 2016 sbin -> usr/sbin/
On older linux versions I think they tended to be actual separate directories, on Mageia 6, I see that they simply point into /usr
mount is expected to be seen in /bin, but since it is actually in /usr/bin, you cannot umount /usr
This is not ideal, but might help:
What you can do, is run a live distro, and remove the 3 symlinks in / and then create three real /bin, /lib, and /sbin, and then copy the contents of /usr/bin, /usr/lib and /usr/sbin directories into the real /bin, /lib and /sbin, and then in /usr, create three symlinks: /usrbin -> /bin, /usr/lib -> /lib and /usr/sbin -> /sbin
/var holds log files, so if you run into errors, like trying to unmount /var, you would probably want to log the error in file /var/log/some-log-file.log
there seems to be similar questions, this is recent:
https://unix.stackexchange.com/question ... g-shutdown