Changeset View
Changeset View
Standalone View
Standalone View
sbin/mount/mount.8
| .\" | |||||
| .\" SPDX-License-Identifier: BSD-3-Clause | |||||
| .\" | |||||
| .\" Copyright (c) 1980, 1989, 1991, 1993 | .\" Copyright (c) 1980, 1989, 1991, 1993 | ||||
| .\" The Regents of the University of California. All rights reserved. | .\" The Regents of the University of California. All rights reserved. | ||||
| .\" | .\" | ||||
| .\" Redistribution and use in source and binary forms, with or without | .\" Redistribution and use in source and binary forms, with or without | ||||
| .\" modification, are permitted provided that the following conditions | .\" modification, are permitted provided that the following conditions | ||||
| .\" are met: | .\" are met: | ||||
| .\" 1. Redistributions of source code must retain the above copyright | .\" 1. Redistributions of source code must retain the above copyright | ||||
| .\" notice, this list of conditions and the following disclaimer. | .\" notice, this list of conditions and the following disclaimer. | ||||
| Show All 11 Lines | |||||
| .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||
| .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
| .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
| .\" 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. | ||||
| .\" | .\" | ||||
| .Dd November 19, 2024 | .Dd April 30, 2025 | ||||
| .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 -libxo | .Op Fl -libxo | ||||
| .Op Fl adflpruvw | .Op Fl adflpruvw | ||||
| .Op Fl F Ar fstab | .Op Fl F Ar fstab | ||||
| .Op Fl o Ar options | .Op Fl o Ar options | ||||
| .Op Fl t Oo Cm no Oc Ns Cm Ar type Ns Op Cm , Ns Ar type ... | .Op Fl t Oo Cm no Oc Ns Ar type Ns Op , Ns Ar type ... | ||||
| .Nm | .Nm | ||||
| .Op Fl -libxo | .Op Fl -libxo | ||||
| .Op Fl dfpruvw | .Op Fl dfpruvw | ||||
| .Ar special | node | .Ar special | node | ||||
| .Nm | .Nm | ||||
| .Op Fl -libxo | .Op Fl -libxo | ||||
| .Op Fl dfpruvw | .Op Fl dfpruvw | ||||
| .Op Fl o Ar options | .Op Fl o Ar options | ||||
| .Op Fl t Oo Cm no Oc Ns Cm Ar type Ns Op Cm , Ns Ar type ... | .Op Fl t Oo Cm no Oc Ns Ar type Ns Op , Ns Ar type ... | ||||
| .Ar special node | .Ar special node | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Nm | .Nm | ||||
| utility calls the | utility calls the | ||||
| .Xr nmount 2 | .Xr nmount 2 | ||||
| system call to prepare and graft a | system call to prepare and graft a | ||||
| .Ar special | .Ar special | ||||
| ▲ Show 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | |||||
| Do not allow set-user-identifier or set-group-identifier bits to take effect. | Do not allow set-user-identifier or set-group-identifier bits to take effect. | ||||
| Note: this option is worthless if a public available suid or sgid | Note: this option is worthless if a public available suid or sgid | ||||
| wrapper is installed on your system. | wrapper is installed on your system. | ||||
| It is set automatically when the user does not have super-user privileges. | It is set automatically when the user does not have super-user privileges. | ||||
| .It Cm nosymfollow | .It Cm nosymfollow | ||||
| Do not follow symlinks | Do not follow symlinks | ||||
| on the mounted file system. | on the mounted file system. | ||||
| .It Cm ro | .It Cm ro | ||||
| The same as | Mount the filesystem read-only, even the super-user may not write it. | ||||
| .Fl r ; | Equivalent to | ||||
patmaddox: (spelling) | |||||
| mount the file system read-only (even the super-user may not write it). | .Fl r . | ||||
| .It Cm rw | |||||
| Mount the filesystem read-write. | |||||
| .It Cm snapshot | .It Cm snapshot | ||||
| Take a snapshot of the specified filesystem. | Take a snapshot of the specified filesystem. | ||||
| When this option is used, all other options are ignored. | When this option is used, all other options are ignored. | ||||
| The | The | ||||
| .Fl u | .Fl u | ||||
| flag is required with this option. | flag is required with this option. | ||||
| .Pp | .Pp | ||||
| Snapshot files must be created in the file system that is being | Snapshot files must be created in the file system that is being | ||||
| ▲ Show 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | |||||
| .It Fl r | .It Fl r | ||||
| The file system is to be mounted read-only. | The file system is to be mounted read-only. | ||||
| Mount the file system read-only (even the super-user may not write it). | Mount the file system read-only (even the super-user may not write it). | ||||
| The same as the | The same as the | ||||
| .Cm ro | .Cm ro | ||||
| argument to the | argument to the | ||||
| .Fl o | .Fl o | ||||
| option. | option. | ||||
| .It Fl t Oo Cm no Oc Ns Cm Ar type Ns Op Cm , Ns Ar type ... | .It Fl t Oo Cm no Oc Ns Ar type Ns Op , Ns Ar type ... | ||||
| The argument following the | The argument following the | ||||
| .Fl t | .Fl t | ||||
| is used to indicate the file system type. | is used to indicate the file system type. | ||||
| The type | The type | ||||
| .Cm ufs | .Cm ufs | ||||
| is the default. | is the default. | ||||
| The | The | ||||
| .Fl t | .Fl t | ||||
| ▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines | |||||
(spelling)