How Do I Unmount a Directory in Linux?
Contents How Do You Unmount Something in Linux? to Unmount a Mounted File System, Use the Umount Command. Note That There Is No “N” Between the “U” and the...
How do you unmount something in Linux?
To unmount a mounted file system, use the umount command. Note that there is no “n” between the “u” and the “m”—the command is umount and not “unmount.” You must tell umount which file system you are unmounting. Do so by providing the file system’s mount point.
Must Read
How do I unmount a home directory in Linux?
You can see which processes are still using your old home directory (or anything else on the home filesystem) by running fuser /home or lsof /home . Once you kill these processes, you’ll be able to unmount /home . You can use fuser -k /home to kill them all (carefully check what they are before doing this!).