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

  • @[email protected]OP
    link
    fedilink
    English
    36 months ago

    To clarify - I only have one thing mounted at the time I run umount -a. Thanks for the helpful individuals who answered my question.

    • @NegativeLookBehind
      link
      English
      3
      edit-2
      6 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.