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

NNAAMMEE
     mmoouunntt, uummoouunntt - mount and dismount file systems

SSYYNNOOPPSSIISS
     mmoouunntt [--aaffrrwwuuvv] [--tt _v_f_s_t_y_p_e]
     mmoouunntt [--ffrrwwuuvv] _s_p_e_c_i_a_l | _n_o_d_e
     mmoouunntt [--ffrrwwuu] [--tt _v_f_s_t_y_p_e] [--oo _o_p_t_i_o_n_s] _s_p_e_c_i_a_l | _n_o_d_e
     uummoouunntt [--aa] [--tt _v_f_s_t_y_p_e]
     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 special keyword _n_o_n_e can be used instead of
     a path or _n_o_d_e specification.  This is useful in the case of the _p_r_o_c
     filesystem.

     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 _v_f_s_t_y_p_e
	     The argument following the --tt is used to indicate the file system
	     type.  The file system types which are currently supported are
	     listed in _l_i_n_u_x_/_f_s_/_f_i_l_e_s_y_s_t_e_m_s_._c: _m_i_n_u_x, _e_x_t, _e_x_t_2, _m_s_d_o_s, _p_r_o_c,
	     _n_f_s, _i_s_o_9_6_6_0. 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.

AAUUTTHHOORRSS
     The version for 0.97.3 was, apparently, written by Doug Quale
     (quale@saavik.cs.wisc.edu).
     Modified for 0.98.5 by H. J. Lu (hlu@eecs.wsu.edu) on 11/25/92.
     Modified for 0.99.2 by Rick Sladkey (jrs@world.std.com)
     Modified for 0.99.6 by Rick Sladkey (jrs@world.std.com)

 Linux 0.99			July 5, 1993				2
