#Is it bad practice to run umount -a instead of specifying the directory to unmount? I’ve always run umount -a to unmount my drive but i notice it unmounts a lot of other things. Is this bad?
#Is it bad practice to run umount -a instead of specifying the directory to unmount? I’ve always run umount -a to unmount my drive but i notice it unmounts a lot of other things. Is this bad?
In general it’s a bad idea to do something implicitly, unless you really know what you’re doing. That goes for
umount -a
as well asgit add -a
orrm -rf *
and that sort of thing.