'\"macro stdmacro
.if n .pH g1a.mount @(#)mount	40.8 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} mount 1M "" "\&"
.if \nX=1 .ds x} mount 1M ""
.if \nX=2 .ds x} mount 1M "" "\&"
.if \nX=3 .ds x} mount  "" "" "\&"
.TH \*(x}
.SH NAME
\f4mount\f1, \f4umount\f1 (generic) \- mount or unmount file systems and remote resources
.SH SYNOPSIS
\f4mount [\f4\-v |\-p\f1]
.br
\f4mount \f1[\f4\-F\f2 FSType\f1] [\f4\-V\f1] [\f2current_options\f1] [\f4\-o\f2 specific_options\f1] {\f2special | mount_point}\f1
.br
\f4mount \f1[\f4\-F\f2 FSType\f1] [\f4\-V\f1] [\f2current_options\f1] [\f4\-o\f2 specific_options\f1] \f2special mount_point\f1
.br
\f4umount\f1 [\f4\-V\f1] [\f4\-o\f2 specific_options\f1] {\f2special\f1 | \f2mount_point\f1}
.SH DESCRIPTION
File systems other than \f4root\f1 ( \f4/\f1 ) are considered 
removable in the sense that they can be either available to users or
unavailable.  \f4mount\f1 notifies the system that \f2special\f1,
a block special device or a remote resource, is available to users
from the \f2mount_point\f1 which  must already exist;
it becomes the name of the root of the newly mounted \f2special\f1 or resource.
.PP
\f4mount\f1, when entered with arguments, validates all arguments  except
for the device name and invokes a \f2FSType\f1 specific \f4mount\f1 module.
If invoked with no arguments, \f4mount\f1 lists all the 
mounted file systems from the mount table.
If invoked with any of the following partial argument lists, for 
example, one of \f2special\f1 or \f2mount_point\f1 or when both arguments are
specified but no  \f2FSType\f1 is specified
\f4mount\f1 will search \f4/etc/vfstab\f1 to fill in the missing arguments:
\f2FSType\f1, \f2special\f1, \f2mount_point\f1, and \f2specific_options\f1.
It will then invoke the \f2FSType\f1-specific \f4mount\f1 module.
.PP
Most \f2FSTypes\f1 do not have a \f4umount\f1 specific module. If one
exists it is executed otherwise the generic  unmounts the
file systems.
If the \f4-o\f1 option is specified the \f4umount\f1
specific module is always executed.
.PP
\f2current_options\f1
are options supported by the \f4s5\f1-specific module of \f4mount\f1 and \f4umount\f1.
Other \f2FSTypes\fP do not necessarily support these options.
\f2specific_options\f1 indicate suboptions specified in a comma-separated 
list of suboptions and/or keyword-attribute pairs for interpretation by 
the \f2FSType\f1-specific module of the command. 
.PP
The options are:
.TP 10
\f4\-v\f1
Print the output in a new style.
The new output has the \f2FSType\f1 and flags
displayed in addition to the old output.
The \f2mount_point\f1 and
\f2special\f1 fields are reversed.
.TP 10
\f4\-p\f1
Print the list of mounted file systems in the \f4/etc/vfstab\f1 format.
.TP 10
\f4\-F\f1
used to specify the \f2FSType\f1 on which to operate. 
The \f2FSType\f1 must be specified or must be determinable 
from \f4/etc/vfstab\f1 while mounting a file system.
.TP 10
\f4\-V\f1
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 \f4/etc/vfstab\f1.
This option should be used to
verify and validate the command line.
.TP 10
\f4\-o\f1
used to specify \f2FSType\f1-specific options.
.PP
\f4mount\f1 can be used by any user to list mounted file systems and
resources.
Only a super-user can mount or unmount file systems.
.SH NOTES
The old output format will be phased out in a future release and
all output will be in the new \f4\-v\f1 format. The most significant 
changes are the addition of two new fields to show the \f2FSType\f1 and
flags and the reversal of the \f2mount_point\f1
and \f2special\f1 name.
.PP
\f4mount\fP adds an entry to the mount table \f4/etc/mnttab\fP;
\f4umount\fP removes an entry from the table.
.SH FILES
.PD 0
.TP 17
\f4/etc/mnttab\f1
mount table
.TP 17
\f4/etc/vfstab\f1
list of default parameters for each file system.
.PD
.SH "SEE ALSO"
\f4setmnt\f1(1M),
\f4mountfsys\f1(1M),
\f4umountfsys\f1(1M),
\f4mnttab\f1(4),
\f4vfstab\f1(4).
.br
Manual pages for the \f2FSType\fP-specific modules of \f4mount\f1.
