logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

mount.8 (1445B)


  1. .Dd February 2, 2015
  2. .Dt MOUNT 8
  3. .Os ubase
  4. .Sh NAME
  5. .Nm mount
  6. .Nd mount a filesystem
  7. .Sh SYNOPSIS
  8. .Nm
  9. .Op Fl BMRan
  10. .Op Fl o Ar options
  11. .Op Fl t Ar fstype
  12. .Op Ar source
  13. .Op Ar target
  14. .Sh DESCRIPTION
  15. .Nm
  16. attaches the filesystem specified to the filesystem hierarchy. The
  17. .Xr umount 8
  18. command will detach it again.
  19. .Sh OPTIONS
  20. .Bl -tag -width Ds
  21. .It Fl B
  22. Remount a subtree somewhere else (so that its contents are visible in both
  23. places).
  24. .It Fl M
  25. Move a subtree to some other place.
  26. .It Fl R
  27. Remount a subtree and all possible submounts somewhere else (so that its
  28. contents are available in both places).
  29. .It Fl a
  30. Mount all filesystems mentioned in
  31. .Pa /etc/fstab .
  32. .It Fl n
  33. Mount without writing in
  34. .Pa /etc/mtab .
  35. This is the default action.
  36. .It Fl o Ar options
  37. Specify a comma separated string of filesystem specific options.
  38. .It Fl t Ar fstype
  39. Set the filesystem type. More than one type may be specified in a comma
  40. separated list. The list of file system types can be prefixed with "no" to
  41. specify the file system types for which action should not be taken. For
  42. example, the
  43. .Nm
  44. command:
  45. .Bd -literal
  46. # mount -a -t nonfs,ext4
  47. .Ed
  48. mounts all file systems except those of type NFS and EXT4.
  49. .Nm
  50. will attempt to execute a program in your
  51. .Ev PATH
  52. mount.XXX where XXX is replaced by the type name. For example, NFS file
  53. systems are mounted by the program
  54. .Pa mount.nfs .
  55. .El
  56. .Sh SEE ALSO
  57. .Xr mount 2 ,
  58. .Xr umount 2 ,
  59. .Xr swapon 8 ,
  60. .Xr umount 8