2.9BSD/usr/man/cat8/mount.8

Compare this file to the similar file:
Show the results in this format:


MOUNT(8)            UNIX Programmer's Manual             MOUNT(8)

NAME
     mount, umount - mount and dismount file system

SYNOPSIS
     /etc/mount [ special name [ -r ] ]

     /etc/mount -a

     /etc/umount special

     /etc/umount -a

DESCRIPTION
     _M_o_u_n_t announces to the system that a removable file system
     is present on the device _s_p_e_c_i_a_l. The file _n_a_m_e must exist
     already; it must be a directory (unless the root of the
     mounted file system is not a directory).  It becomes the
     name of the newly mounted root.  The optional argument -r
     indicates that the file system is to be mounted read-only.

     _U_m_o_u_n_t announces to the system that the removable file sys-
     tem previously mounted on device _s_p_e_c_i_a_l is to be removed.

     If the -a option is present for either _m_o_u_n_t or _u_m_o_u_n_t, all
     of the file systems described in /_e_t_c/_f_s_t_a_b are attempted to
     be mounted or unmounted.  In this case, _s_p_e_c_i_a_l and _n_a_m_e are
     taken from /_e_t_c/_f_s_t_a_b. The _s_p_e_c_i_a_l file name from /_e_t_c/_f_s_t_a_b
     is the block special name.

     These commands maintain a table of mounted devices in
     /_e_t_c/_m_t_a_b. If invoked without an argument, _m_o_u_n_t prints the
     table.

     Physically write-protected and magnetic tape file systems
     must be mounted read-only or errors will occur when access
     times are updated, whether or not any explicit write is
     attempted.

FILES
     /etc/mtab           mount table
     /etc/fstab          file system table

SEE ALSO
     mount(2), fstab(5), mtab(5)

BUGS
     Mounting file systems full of garbage will crash the system.
     Mounting a root directory on a non-directory makes some
     apparently good pathnames invalid.

Printed 5/17/83                                                 1