
MOUNT(8)                 UNIX System Manager's Manual                 MOUNT(8)

NNAAMMEE
     mmoouunntt, uummoouunntt - mount and dismount file systems

SSYYNNOOPPSSIISS
     mmoouunntt [--aaffrrwwuuvv] [--tt _m_i_n_i_x | _e_x_t | _m_s_d_o_s]
     mmoouunntt [--ffrrwwuuvv] _s_p_e_c_i_a_l | _n_o_d_e
     mmoouunntt [--ffrrwwuu] [--tt _m_i_n_i_x | _e_x_t | _m_s_d_o_s] [--oo _o_p_t_i_o_n_s] _s_p_e_c_i_a_l _n_o_d_e
     uummoouunntt [--aa] [--tt _m_i_n_i_x | _e_x_t | _m_s_d_o_s]
     uummoouunntt _s_p_e_c_i_a_l | _n_o_d_e

DDEESSCCRRIIPPTTIIOONN
     The mmoouunntt command calls the mount(2) system call to prepare and graft a
     _s_p_e_c_i_a_l device on to the file system tree at the point _n_o_d_e_. If either
     _s_p_e_c_i_a_l or _n_o_d_e are not provided, the appropriate information is taken
     from the fstab(5) file.

     The system maintains a list of currently mounted file systems.  If no ar-
     guments are given to mmoouunntt,, this list is printed.

     Options available for the mmoouunntt command:

     --ff      Causes everything to be done except for the actual system call;
             if it's not obvious, this ``fakes'' mounting the file system.
             This option is useful in conjunction with the --vv flag to deter-
             mine what the mmoouunntt command is trying to do.

     --oo      Options are specified with a --oo flag followed by a comma separat-
             ed string of options.  The following options apply to any file
             system that is being mounted:

             noexec  Do not allow execution of any binaries on the mounted
                     file system.  This options is useful for a server that
                     has file systems containing binaries for architectures
                     other than its own.

             nosuid  Do not allow set-user-identifier or set-group-identifier
                     bits to take effect.

             nodev   Do not interpret character or block special devices on
                     the file system.  This options is useful for a server
                     that has file systems containing special devices for ar-
                     chitectures other than its own.

             synchronous
                     All I/O to the file system should be done synchronously.

     --rr      The file system object is to be mounted read-only.

     --tt _m_i_n_i_x | _e_x_t | _m_s_d_o_s
             The argument following the --tt is used to indicate the file system
             type.  The type _m_i_n_i_x is the default.  For example, the mmoouunntt
             command:

                   mount -a -t nomsdos,ext

             mounts all filesystems except those of type msdos and ext.

     --uu      The --uu flag indicates that the status of an already mounted file
             system should be changed.  Any of the options discussed above
             (the --oo option) may be changed; also a file system can be changed
             from read-only to read-write.  The set of options is determined
             by first extracting the options for the file system from the
             fstab table, then applying any options specified by the --oo argu-
             ment, and finally applying the --rr or --ww option.

     --vv      Verbose mode.

     --ww      The file system object is to be read and write.

     UUmmoouunntt removes the _s_p_e_c_i_a_l device grafted at point _n_o_d_e from file system
     tree.

     Options for the uummoouunntt command:

     --aa      All of the file systems described in fstab are unmounted.

     --tt      Is used to indicate the actions should only be taken on filesys-
             tems of the specified type.  More than one type may be specified
             in a comma separated list.  The list of filesystem types can be
             prefixed with ``no'' to specify the filesystem types on which no
             action should be taken.  (See example above for the mmoouunntt com-
             mand.)

FFIILLEESS
     /etc/fstab  file system table

SSEEEE AALLSSOO
     mount(2),  umount(2),  fstab(5)

BBUUGGSS
     It is possible for a corrupted file system to cause a crash.

     Linux doesn't support --uu or --oo synchronous yet.

HHIISSTTOORRYY
     A mmoouunntt command appeared in Version 6 AT&T UNIX.

4th Berkeley Distribution       August 5, 1991                               2































