Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mount(NADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setmnt(ADM)

mountd(NADM)

nfsd(NADM)

showmount(NADM)

mount(ADM)

umount(ADM)

mnttab(F)


 mount(NADM)                     19 June 1992                     mount(NADM)


 Name

    mount - mount, umount - mount and unmount filesystems and remote
    resources

 Syntax

    /etc/mount  [-v] [-r] [-f fstyp ] special directory
    /etc/mount [-r] [-c resource directory
    /etc/mount
    /etc/umount special
    /etc/umount directory
    /etc/umount resource

 Description

    Filesystems other than root ``/'' are considered removable in the sense
    that they can be either available to users or unavailable.  mount
    announces to the system that special, a block special device, or
    resource, a remote resource, is available to users from the mount point
    directory.  directory must exist already; it becomes the name of the root
    of the newly mounted special or resource.  A unique resource may be
    mounted only once (no multiple mounts).

    mount, when entered with arguments, adds an entry to the table of mounted
    devices, /etc/mnttab.  umount removes the entry.  If invoked with no
    arguments, mount prints the entire mount table.  If invoked with any of
    the following partial argument lists, mount will search
    /etc/default/filesys to fill in the missing arguments:  special,
    resource, directory, or directory.

    The following options are available:

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

    -v        displays mount information verbosely

    -c        indicates that remote reads and writes should not be cached in
              the local buffer pool.  -c is used in conjunction with -d.

    -ffstyp   indicates that fstyp is the filesystem type to be mounted.  If
              this argument is omitted, it defaults to the root fstyp.  If
              fstyp is NFS, then any NFS options may be added after the
              fstyp, separated by commas.  The available NFS options are:

              soft
                 return error if the server does not respond

              nosuid
                 ignore setuid and setgid bits during exec

              bg background this mount.  (This is recommended for automatic
                 mounts done during system startup.)

              rsize=n
                 set the read buffer size to n bytes

              wsize=n
                 set the write buffer size to n bytes

              timeo=n
                 set the initial NFS timeout to n tenths of a second.  The
                 default is 300 seconds.

              retrans=n
                 set the number of NFS retransmissions to n.  The default is
                 5.

              port=n
                 set the server IP port number to n

              noac
                 don't cache attributes.  This is required when close syn-
                 chronization with the server is required.  BEWARE:  use of
                 this option will drastically cut performance on the file-
                 system being mounted.

    special   indicates the block special device that is to be mounted on
              directory.  If fstyp is NFS, then special should be of the form
              hostname:/pathname.

    resource  indicates the remote resource name that is to be mounted on a
              directory

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

    umount announces to the system that the previously mounted special or
    resource is to be made unavailable.  If invoked with special or direc-
    tory, umount will search /etc/default/filesys to fill in the missing
    argument(s).

    mount can be used by any user to list mounted filesystems and resources.
    Only a super-user can mount and umount filesystems.

 Files

    /etc/mnttab             mount table
    /etc/default/filesys    filesystem table

 See also

    setmnt(ADM), mountd(NADM), nfsd(NADM), showmount(NADM), mount(ADM),
    umount(ADM), mnttab(F)

 Diagnostics

    If the mount system call fails, mount prints an appropriate diagnostic.
    mount issues a warning if the filesystem to be mounted is currently
    labeled under another name.

    umount fails if special or resource is not mounted or if it is busy.
    special or resource is busy if it contains an open file or some user's
    working directory.

 Warnings

    Physically removing a mounted filesystem diskette from the diskette drive
    before issuing the umount command damages the filesystem.


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