mount(1M) UNIX System V mount(1M)
NAME
mount, umount - mount or unmount file systems and remote resources
SYNOPSIS
mount [-v |-p]
mount [-F FSType] [-V] [current_options] [-o specific_options] {special |
mount_point}
mount [-F FSType] [-V] [current_options] [-o specific_options] special
mount_point
umount [-V] [-o specific_options] {special | mount_point}
DESCRIPTION
File systems other than root ( / ) are considered removable in the sense
that they can be either available to users or unavailable. mount
notifies the system that special, a block special device or a remote
resource, is available to users from the mount_point which must already
exist; it becomes the name of the root of the newly mounted special or
resource.
mount, when entered with arguments, validates all arguments except for
the device name and invokes an FSType specific mount module. If invoked
with no arguments, mount lists all the mounted file systems from the
mount table. If invoked with any of the following partial argument
lists, for example, one of special or mount_point or when both arguments
are specified but no FSType is specified mount will search /etc/vfstab
to fill in the missing arguments: FSType, special, mount_point, and
specific_options. It will then invoke the FSType-specific mount module.
Most FSTypes do not have a umount specific module. If one exists it is
executed; otherwise the generic module unmounts the file systems. If the
-o option is specified the umount specific module is always executed.
current_options are options supported by the s5-specific module of mount
and umount. Other FSTypes do not necessarily support these options.
specific_options indicate suboptions specified in a comma-separated list
of suboptions and/or keyword-attribute pairs for interpretation by the
FSType-specific module of the command.
The options are:
-v Print the output in a new style. The new output has the FSType
and flags displayed in addition to the old output. The
mount_point and special fields are reversed.
-p Print the list of mounted file systems in the /etc/vfstab
format.
-F used to specify the FSType on which to operate. The FSType must
be specified or must be determinable from /etc/vfstab while
mounting a file system. If FSType is not specified or if
FSType does not exist in /etc/vfstab, FSType defaults to s5.
10/89 Page 1
mount(1M) UNIX System V mount(1M)
-V Echo the complete command line, but do not execute the command.
The command line is generated by using the options and
arguments provided by the user and adding to them information
derived from /etc/vfstab. This option should be used to verify
and validate the command line.
-o used to specify FSType-specific options.
mount can be used by any user to list mounted file systems and resources.
Only a super-user can mount or unmount file systems.
NOTES
mount does not prevent you from mounting a file system on a directory
that's not empty.
The old output format will be phased out in a future release and all
output will be in the new -v format. The most significant changes are the
addition of two new fields to show the FSType and flags and the reversal
of the mount_point and special name.
mount adds an entry to the mount table /etc/mnttab; umount removes an
entry from the table.
FILES
/etc/mnttab mount table
/etc/vfstab list of default parameters for each file system.
SEE ALSO
setmnt(1M), mountfsys(1M), umountfsys(1M), mnttab(4), vfstab(4).
Manual pages for the FSType-specific modules of mount.
Page 2 10/89