umount.8 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .Dd February 2, 2015
  2. .Dt UMOUNT 8
  3. .Os ubase
  4. .Sh NAME
  5. .Nm umount
  6. .Nd unmount file systems
  7. .Sh SYNOPSIS
  8. .Nm
  9. .Op Fl fln
  10. .Ar target...
  11. .Nm
  12. .Op Fl fln
  13. .Fl a
  14. .Sh DESCRIPTION
  15. .Nm
  16. detaches the
  17. .Ar target
  18. filesystem(s). A file system is specified by giving the directory where it
  19. has been mounted. Giving the special device on which the file system
  20. lives may also work, but is obsolete, mainly because it will fail in
  21. case this device was mounted on more than one directory.
  22. .Sh OPTIONS
  23. .Bl -tag -width Ds
  24. .It Fl a
  25. All of the file systems described in
  26. .Pa /proc/mounts
  27. are unmounted. The proc filesystem is not unmounted.
  28. .It Fl f
  29. Force unmount (in case of an unreachable NFS server).
  30. .It Fl l
  31. Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup
  32. all references to the filesystem as soon as it is not busy anymore.
  33. .It Fl n
  34. Unmount without writing in
  35. .Pa /etc/mtab .
  36. This is the default action.
  37. .El
  38. .Sh SEE ALSO
  39. .Xr umount 2 ,
  40. .Xr mount 8