#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?

  • NegativeLookBehind@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    Using the -a option will unmount everything in /etc/mtab. You should usually be specific about what you’re unmounting. Check the umount man page for details about its options.