Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/mount/mount.8
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)mount.8 8.8 (Berkeley) 6/16/94 | .\" @(#)mount.8 8.8 (Berkeley) 6/16/94 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd March 22, 2017 | .Dd August 28, 2019 | ||||
.Dt MOUNT 8 | .Dt MOUNT 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm mount | .Nm mount | ||||
.Nd mount file systems | .Nd mount file systems | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl adflpruvw | .Op Fl adflpruvw | ||||
▲ Show 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | |||||
Mount the file system read-write. | Mount the file system read-write. | ||||
If that fails with an error that suggests that the media could be read-only, | If that fails with an error that suggests that the media could be read-only, | ||||
then automatically try to mount the file system read-only. | then automatically try to mount the file system read-only. | ||||
.It Cm current | .It Cm current | ||||
When used with the | When used with the | ||||
.Fl u | .Fl u | ||||
flag, this is the same as specifying the options currently in effect for | flag, this is the same as specifying the options currently in effect for | ||||
the mounted file system. | the mounted file system. | ||||
.It Cm emptydir | |||||
Require that the mount point directory be empty. | |||||
.It Cm force | .It Cm force | ||||
The same as | The same as | ||||
.Fl f ; | .Fl f ; | ||||
forces the revocation of write access when trying to downgrade | forces the revocation of write access when trying to downgrade | ||||
a file system mount status from read-write to read-only. | a file system mount status from read-write to read-only. | ||||
Also | Also | ||||
forces the R/W mount of an unclean file system (dangerous; use with caution). | forces the R/W mount of an unclean file system (dangerous; use with caution). | ||||
.It Cm fstab | .It Cm fstab | ||||
▲ Show 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
.Nm | .Nm | ||||
is run with the | is run with the | ||||
.Fl a | .Fl a | ||||
flag. | flag. | ||||
.It Cm noclusterr | .It Cm noclusterr | ||||
Disable read clustering. | Disable read clustering. | ||||
.It Cm noclusterw | .It Cm noclusterw | ||||
Disable write clustering. | Disable write clustering. | ||||
.It Cm nocover | |||||
Do not mount if the requested mount point is already | |||||
the root of a mount point. | |||||
.It Cm noexec | .It Cm noexec | ||||
Do not allow execution of any binaries on the mounted file system. | Do not allow execution of any binaries on the mounted file system. | ||||
This option is useful for a server that has file systems containing | This option is useful for a server that has file systems containing | ||||
binaries for architectures other than its own. | binaries for architectures other than its own. | ||||
Note: This option was not designed as a security feature and no | Note: This option was not designed as a security feature and no | ||||
guarantee is made that it will prevent malicious code execution; for | guarantee is made that it will prevent malicious code execution; for | ||||
example, it is still possible to execute scripts which reside on a | example, it is still possible to execute scripts which reside on a | ||||
.Cm noexec | .Cm noexec | ||||
▲ Show 20 Lines • Show All 351 Lines • Show Last 20 Lines |