Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/mount.2
Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | |||||
and | and | ||||
.Dv MNT_RDONLY , | .Dv MNT_RDONLY , | ||||
specify that the file system is to be forcibly downgraded to a read-only | specify that the file system is to be forcibly downgraded to a read-only | ||||
mount even if some files are open for writing. | mount even if some files are open for writing. | ||||
.It Dv MNT_NOCLUSTERR | .It Dv MNT_NOCLUSTERR | ||||
Disable read clustering. | Disable read clustering. | ||||
.It Dv MNT_NOCLUSTERW | .It Dv MNT_NOCLUSTERW | ||||
Disable write clustering. | Disable write clustering. | ||||
.It Dv MNT_NOCOVER | |||||
Do not mount over the root of another mount point. | |||||
.It Dv MNT_EMPTYDIR | |||||
Require an empty directory for the mount point directory. | |||||
.El | .El | ||||
.Pp | .Pp | ||||
The flag | The flag | ||||
.Dv MNT_UPDATE | .Dv MNT_UPDATE | ||||
indicates that the mount command is being applied | indicates that the mount command is being applied | ||||
to an already mounted file system. | to an already mounted file system. | ||||
This allows the mount flags to be changed without requiring | This allows the mount flags to be changed without requiring | ||||
that the file system be unmounted and remounted. | that the file system be unmounted and remounted. | ||||
▲ Show 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
.Fa name | .Fa name | ||||
is not a directory, | is not a directory, | ||||
or a path prefix of | or a path prefix of | ||||
.Fa special | .Fa special | ||||
is not a directory. | is not a directory. | ||||
.It Bq Er EBUSY | .It Bq Er EBUSY | ||||
Another process currently holds a reference to | Another process currently holds a reference to | ||||
.Fa dir . | .Fa dir . | ||||
.It Bq Er EBUSY | |||||
The | |||||
.Dv MNT_NOCOVER | |||||
option was given, and the requested mount point | |||||
is already the root of another mount point. | |||||
.It Bq Er EFAULT | .It Bq Er EFAULT | ||||
The | The | ||||
.Fa dir | .Fa dir | ||||
argument | argument | ||||
points outside the process's allocated address space. | points outside the process's allocated address space. | ||||
.El | .El | ||||
.Pp | .Pp | ||||
The following errors can occur for a | The following errors can occur for a | ||||
.Em ufs | .Em ufs | ||||
file system mount: | file system mount: | ||||
.Bl -tag -width Er | .Bl -tag -width Er | ||||
.It Bq Er ENODEV | .It Bq Er ENODEV | ||||
A component of ufs_args | A component of ufs_args | ||||
.Fa fspec | .Fa fspec | ||||
does not exist. | does not exist. | ||||
.It Bq Er ENOTBLK | .It Bq Er ENOTBLK | ||||
The | The | ||||
.Fa fspec | .Fa fspec | ||||
argument | argument | ||||
is not a block device. | is not a block device. | ||||
.It Bq Er ENOTEMPTY | |||||
The | |||||
.Dv MNT_EMPTYDIR | |||||
option was specified, and the requested mount point | |||||
is not an empty directory. | |||||
.It Bq Er ENXIO | .It Bq Er ENXIO | ||||
The major device number of | The major device number of | ||||
.Fa fspec | .Fa fspec | ||||
is out of range (this indicates no device driver exists | is out of range (this indicates no device driver exists | ||||
for the associated hardware). | for the associated hardware). | ||||
.It Bq Er EBUSY | .It Bq Er EBUSY | ||||
.Fa fspec | .Fa fspec | ||||
is already mounted. | is already mounted. | ||||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |