


      MMMMOOOOUUUUNNNNTTTT((((2222))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   MMMMOOOOUUUUNNNNTTTT((((2222))))



      NNNNAAAAMMMMEEEE
           mount - mount a file system

      SSSSYYYYNNNNTTTTAAAAXXXX
           iiiinnnntttt mmmmoooouuuunnnntttt ((((ssssppppeeeecccc,,,, ddddiiiirrrr,,,, rrrrwwwwffffllllaaaagggg))))
           cccchhhhaaaarrrr ****ssssppppeeeecccc,,,, ****ddddiiiirrrr;;;;
           iiiinnnntttt rrrrwwwwffffllllaaaagggg;;;;

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _M_o_u_n_t requests that a removable file system contained on the
           block special file identified by _s_p_e_c be mounted on the
           directory identified by _d_i_r.  _S_p_e_c and _d_i_r are pointers to
           path names.

           Upon successful completion, references to the file _d_i_r will
           refer to the root directory on the mounted file system.

           The low-order bit of _r_w_f_l_a_g is used to control write
           permission on the mounted file system; if 1111, writing is
           forbidden, otherwise writing is permitted according to
           individual file accessibility.

           _M_o_u_n_t may be invoked only by the super-user.

           _M_o_u_n_t will fail if one or more of the following are true:

                The effective user ID is not super-user.  [EPERM]

                Any of the named files does not exist.  [ENOENT]

                A component of a path prefix is not a directory.
                [ENOTDIR]

                _S_p_e_c is not a block special device.  [ENOTBLK]

                The device associated with _s_p_e_c does not exist.
                [ENXIO]

                _D_i_r is not a directory.  [ENOTDIR]

                _S_p_e_c or _d_i_r points outside the process's allocated
                address space.  [EFAULT]

                _D_i_r is currently mounted on, is someone's current
                working directory or is otherwise busy.  [EBUSY]

                The device associated with _s_p_e_c is currently mounted.
                [EBUSY]

      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
           Upon successful completion a value of 0 is returned.
           Otherwise, a value of -1 is returned and _e_r_r_n_o is set to



      Page 1                                                   (9010-E)






      MMMMOOOOUUUUNNNNTTTT((((2222))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   MMMMOOOOUUUUNNNNTTTT((((2222))))



           indicate the error.

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           umount(2).

      BBBBUUUUGGGGSSSS
           Currently, a tape cannot be mounted, and physical write-
           protect cannot be set.















































      Page 2                                                   (9010-E)



