billbasher , 1 month ago (edited 1 month ago) It shouldn’t unmount those system dirs unless you have a really weird setup or specify with —types. From the man page: -a, --all All of the filesystems described in /proc/self/mountinfo (or in deprecated /etc/mtab) are unmounted, except the proc, devfs, devpts, sysfs, rpc_pipefs and nfsd filesystems. This list of the filesystems may be replaced by --types umount option. https://www.man7.org/linux/man-pages/man8/umount.8.html If you are using a system with snap like Ubuntu, it will unmount those since they are technically mounts. It will fail if an app is using the snap but subsequent opens of closed snaps will fail. Edit: Formatting
It shouldn’t unmount those system dirs unless you have a really weird setup or specify with —types.
From the man page:
-a, --all All of the filesystems described in /proc/self/mountinfo (or
in deprecated /etc/mtab) are unmounted, except the proc,
devfs, devpts, sysfs, rpc_pipefs and nfsd filesystems. This
list of the filesystems may be replaced by --types umount
option.
https://www.man7.org/linux/man-pages/man8/umount.8.html
If you are using a system with snap like Ubuntu, it will unmount those since they are technically mounts. It will fail if an app is using the snap but subsequent opens of closed snaps will fail.
Edit: Formatting