mount [-F ufs] [generic_options] [-r] [-ospecific_options]
[special|mount_point]
mount [-F ufs] [generic_options] [-r] [-ospecific_options]
specialmount_point
Description
generic_options are options supported by the generic mount command.
mount
attaches a
ufs
filesystem, referenced by special, to the filesystem hierarchy at the
pathname location
mount_point,
which must already exist.
If
mount_point
has any contents prior to the
mount
operation, these remain hidden until the
filesystem is once again unmounted.
ufs-specific options
-F ufs
Specify the ufs FSType. If -F ufs
is not specified heuristics similiar to those used
by
fstyp(1M)
are used to determine the file
system type.
NOTE:
This command executes faster if it is not required
to autodetect file system types. If possible, specify
the -F ufs.
-r
Mount the filesystem read-only.
-o
Specify the ufs
filesystem specific options in a comma-separated list.
If invalid options are specified, a warning message
is printed and the invalid options are ignored.
Multiple filesystem-specific options may be listed in any order, but
must be separated by commas.
The following options are available:
f
Fake an
/etc/mnttab
entry, but do not actually mount any filesystems.
Parameters are not verified.
n
Mount the filesystem without making an entry in
/etc/mnttab.
rw | ro
Read/write or read-only.
Default is rw.
nosuid
By default the filesystem is mounted with setuid execution allowed.
Specifying nosuid overrides the default and causes the
filesystem to be mounted with setuid execution disallowed.
remount
Used in conjunction with rw.
A filesystem
mounted read-only can be remounted read-write.
Fails if the
filesystem is not currently mounted
or if the filesystem is mounted rw.
soft
Specifies that writes need not be written out to disk until the
filesystem is about to be unmounted. This volatility can improve
system throughput as much as eight percent when the temporary
directories (for example, /tmp and /var/tmp)
are mounted this way.