2

I am trying to unmount a filesystem. The mount point of the filesystem is /one/two/three/four, and the name of the device file is /dev/sdb8. The command that I executed to unmount the filesystem was:

# unmount /one/two/three/four

The current directory was /one/two/three/four when the command was executed. Why was I unable to unmount the filesystem?

2 Answers2

4

Are you sure the command was unmount and not umount?

The command will fail if your current working directory is the mount point or a subdirectory of the mount point. You cannot unmount the filesystem if it's in use. If the device is not otherwise "busy" it should suffice to change the working dir to another directory before unmounting.

Freddy
  • 25,565
1

It should be "umount" command, not "unmount".