2015-02-02 12:34:26 -05:00
|
|
|
.Dd February 2, 2015
|
|
|
|
.Dt MOUNT 8
|
|
|
|
.Os ubase
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mount
|
|
|
|
.Nd mount a filesystem
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl BMRan
|
|
|
|
.Op Fl o Ar options
|
|
|
|
.Op Fl t Ar fstype
|
|
|
|
.Op Ar source
|
|
|
|
.Op Ar target
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
attaches the filesystem specified to the filesystem hierarchy. The
|
|
|
|
.Xr umount 8
|
|
|
|
command will detach it again.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl B
|
|
|
|
Remount a subtree somewhere else (so that its contents are visible in both
|
|
|
|
places).
|
|
|
|
.It Fl M
|
2014-04-13 12:44:44 -04:00
|
|
|
Move a subtree to some other place.
|
2015-02-02 12:34:26 -05:00
|
|
|
.It Fl R
|
|
|
|
Remount a subtree and all possible submounts somewhere else (so that its
|
|
|
|
contents are available in both places).
|
|
|
|
.It Fl a
|
|
|
|
Mount all filesystems mentioned in
|
|
|
|
.Pa /etc/fstab .
|
|
|
|
.It Fl n
|
|
|
|
Mount without writing in
|
|
|
|
.Pa /etc/mtab .
|
|
|
|
This is the default action.
|
|
|
|
.It Fl o Ar options
|
2014-04-13 12:44:44 -04:00
|
|
|
Specify a comma separated string of filesystem specific options.
|
2015-02-02 12:34:26 -05:00
|
|
|
.It Fl t Ar fstype
|
|
|
|
Set the filesystem type.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mount 2 ,
|
|
|
|
.Xr umount 2 ,
|
|
|
|
.Xr swapon 8 ,
|
|
|
|
.Xr umount 8
|