Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(8)



  npmount(1)                          CLIX                          npmount(1)



  NAME

    npmount, npumount - Mounts and unmounts file system

  SYNOPSIS

    /usr/bin/npmount [-r] [-f fstype] special directory

    /usr/bin/npmount [-r] -f NFS [,options] resource directory

    /usr/bin/npmount [-r] [-c] -d resource directory

    /usr/bin/npumount directory

    /usr/bin/npumount -d resource

  FLAGS

    The commands npmount and npumount accept exactly the same flags as mount
    and umount, respectively.  The only exception is that npmount will display
    a usage summary if executed with no flags; mount will display a list of
    currently mounted file systems.

    The following flags are available:

    -r          Indicates that special or resource is to be mounted read-only.
                If special or resource is write-protected, this flag must be
                used.

    -d          Indicates that resource is a remote resource that is to be
                mounted on directory or unmounted from directory.  To mount a
                remote resource, Remote File Sharing (RFS) must be running and
                the resource must be advertised by a remote computer (see
                rfstart and adv).

    -c          Disables RFS client caching of file system reads and writes on
                this resource.

    -f fstype   Indicates that fstype is the file system type to be mounted.
                If this argument is omitted, it defaults to the root fstype.
                If fstype is Network File System (NFS), NFS options may be
                added after the fstype, separated by commas.  The available
                NFS options are as follows:

                soft        Returns an error if the server does not respond.

                rsize=n     Sets the read buffer size to n bytes.

                wsize=n     Sets the write buffer size to n bytes.

                timeo=n     Sets the initial NFS timeout to n tenths of a



  2/94 - Intergraph Corporation                                              1






  npmount(1)                          CLIX                          npmount(1)



                            second.

                retrans=n   Sets the number of NFS retransmissions to n.

                port=n      Sets the server IP port number to n.

    special     Indicates the block special device to be mounted on directory.
                If fstype is NFS, special should have the form
                hostname:/pathname.

    resource    Indicates the remote resource name to be mounted on a
                directory.

    directory   Indicates the directory mount point for special or resource.
                (The directory must exist.)

  DESCRIPTION

    The commands npmount and npumount run setuid to set the user ID (UID) to
    root, allowing a nonprivileged user to mount and unmount file systems,
    with certain access restrictions.  The following restrictions apply for
    npmount or npumount:

    ⊕  The user must have write permission on both the mount point and its
       parent directory.  If not, the command will fail with an error message.

    ⊕  The user must have read permission on the disk partition being mounted.
       If not, the command will fail with an error message.

    ⊕  The npumount command requires that the user have write permission in
       the parent directory of the mount point.

  EXAMPLES

    1.  Unprivileged users can mount an NFS type file system as follows:

        npmount -fNFS,soft -r /dev/dsk/s2u0p7.0 /usr/mnt


    2.  To unmount, use the following:

        npumount /usr/mnt


  DIAGNOSTICS

    Sorry, you cannot mount special in directory
           You do not have the necessary permissions to perform the mount.

    npmount: exec error : error message
           The exec() call to mount() failed.



  2                                              Intergraph Corporation - 2/94






  npmount(1)                          CLIX                          npmount(1)



    domount - wait failed
           The wait() function failed.

    npmount: unable to mount special as directory
           The mount command could not mount the device in the specified
           directory.

    npmount: mount error
           The mount command returned an error.

    npumount: Sorry, you cannot unmount directory
           You do not have the necessary permissions to perform the mount.

  EXIT VALUES

    The npmount command exits with a value of 0 if successful and 1 if an
    error occurs.

  RELATED INFORMATION

    Commands: mount(8)

































  2/94 - Intergraph Corporation                                              3




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026