


MOUNT(8)              MAINTENANCE COMMANDS               MOUNT(8)



NAME
     mount, umount - mount and unmount file systems

SYNOPSIS
     /usr/etc/mount [ -fnrv ] [ -t _t_y_p_e ] [ -o _o_p_t_i_o_n_s ] _f_i_l_e_s_y_s_-
     _t_e_m _d_i_r_e_c_t_o_r_y
     /usr/etc/umount [ -v ] _f_i_l_e_s_y_s_t_e_m|_d_i_r_e_c_t_o_r_y  ...

DESCRIPTION
     mount attaches a named _f_i_l_e_s_y_s_t_e_m to the file system hierar-
     chy  at  the pathname location _d_i_r_e_c_t_o_r_y, which must already
     exist.  If _d_i_r_e_c_t_o_r_y has any contents  prior  to  the  mount
     operation,  these remain hidden until the _f_i_l_e_s_y_s_t_e_m is once
     again   unmounted.    If   _f_i_l_e_s_y_s_t_e_m   is   of   the   form
     _h_o_s_t:_p_a_t_h_n_a_m_e,  it is assumed to be an NFS file system (type
     nfs).

     umount unmounts a currently mounted file system,  which  can
     be specified either as a _d_i_r_e_c_t_o_r_y or a _f_i_l_e_s_y_s_t_e_m.

     mount and umount maintain a table of mounted file systems in
     /etc/mtab,  described  in  fstab(5).   If invoked without an
     argument, mount displays the  contents  of  this  table.  

OPTIONS
  mount
     -f   Fake an /etc/mtab entry, but do not actually mount  any
          file systems.

     -n   Mount the  file  system  without  making  an  entry  in
          /etc/mtab.

     -v   Verbose.  Display a message indicating each file system
          being mounted.

     -r   Mount the specified file system read-only, even if  the
          entry  in /etc/fstab specifies that it is to be mounted
          read-write.

          Physically write-protected and magnetic-tape file  sys-
          tems  must be mounted read-only. Otherwise errors occur
          when the system attempts to update access  times,  even
          if no write operation is attempted.

     -o _o_p_t_i_o_n_s
          Specify file system _o_p_t_i_o_n_s, a comma-separated list  of
          words  from the list below.  Some options are valid for
          all file system types, while others apply to a specific
          type only.

          _o_p_t_i_o_n_s valid on _a_l_l file systems:

               rw|ro         Read/write or read-only.
               suid|nosuid   Setuid execution allowed  or  disal-
                             lowed.

               The default is `rw,suid'.

          _o_p_t_i_o_n_s specific to nfs (NFS) file systems:

               rsize=_n       Set the read buffer size to _n bytes.
               wsize=_n       Set  the  write  buffer  size  to  _n
                             bytes.
               timeo=_n       Set the NFS timeout to _n tenths of a
                             second.
               retrans=_n     The number of NFS retransmissions.
               port=_n        The server IP port number.
               acregmin=_n    Hold cached attributes for at  least
                             _n seconds after file modification.
               acregmax=_n    Hold cached attributes for  no  more
                             than  _n seconds after file modifica-
                             tion.
               acdirmin=_n    Hold cached attributes for at  least
                             _n seconds after directory update.
               acdirmax=_n    Hold cached attributes for  no  more
                             than   _n   seconds  after  directory
                             update.
               actimeo=_n     Set _m_i_n and _m_a_x  times  for  regular
                             files and directories to _n seconds.

               actimeo has no default; it sets  acregmin,  acreg-
               max, acdirmin and acdirmax

               Defaults for rsize and wsize are set internally by
               the system kernel.

  umount
     -v   Verbose.  Display a message indicating each file system
          being unmounted.

EXAMPLES
          To mount a remote file system:
               mount serv:/usr/src /usr/src
          To mount a remote file system read-only:
               mount -o ro serv:/usr/src /usr/src

FILES
     /etc/mtab           table of mounted file systems

SEE ALSO
     mkdir(2V),  open(2V),  fstab(5),  mtab(5),  automount(8), 
     mountd(8C), nfsd(8)

BUGS
     As for now, it is only possible to mount a remote file system in
     /nfs.
