Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umount(1M) — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adv(1M)

fuser(1M)

nsquery(1M)

rfstart(1M)

rmntstat(1M)

setmnt(1M)

unadv(1M)

fstab(4)

mnttab(4)

mount(2)

umount(2)

MOUNT(1M)



  MOUNT(1M)             (Essential Utilities)             MOUNT(1M)



  NAME
       mount, umount - mount and unmount file systems and remote
       resources

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

  DESCRIPTION
       File systems 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/fstab to fill
       in the missing arguments:  special, -d resource, directory,
       or -d 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 advertised, this flag
                 must be used.

       -d        indicates that resource is a remote resource that
                 is to be mounted on directory or unmounted.  To
                 mount a remote resource, Remote File Sharing must
                 be up and running and the resource must be


  Page 1                                                   May 1989


















  MOUNT(1M)             (Essential Utilities)             MOUNT(1M)



                 advertised by a remote computer [see rfstart(1M)
                 and adv(1M)].  If -d is not used, special must be
                 a local block special device.

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

       -f fstyp  indicates that fstyp is the file system type to be
                 mounted.  If this argument is omitted, it defaults
                 to the root fstyp.

       special   indicates the block special device that is to be
                 mounted on directory.

       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 directory or -d directory, umount will search
       /etc/fstab to fill in the missing argument(s).

       mount can be used by any user to list mounted file systems
       and resources.  Only a super-user can mount and unmount file
       systems.

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

  SEE ALSO
       adv(1M), fuser(1M), nsquery(1M), rfstart(1M), rmntstat(1M),
       setmnt(1M), unadv(1M), fstab(4), mnttab(4).
       mount(2), umount(2) in the Programmer's Reference Manual.
       "Remote File Sharing" chapter, System Administrator's Guide,
       for guidelines on mounting remote resources.


  Page 2                                                   May 1989


















  MOUNT(1M)             (Essential Utilities)             MOUNT(1M)



  DIAGNOSTICS
       If the mount(2) system call fails, mount prints an
       appropriate diagnostic.  mount issues a warning if the file
       system to be mounted is currently labeled under another
       name.  A remote resource mount will fail if the resource is
       not available or if Remote File Sharing is not running or if
       it is advertised read-only and not mounted with -r.

       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.  In such a case, you
       can use fuser(1M) to list and kill processes that are using
       special or resource.

  WARNINGS
       Physically removing a mounted file system diskette from the
       diskette drive before issuing the umount command damages the
       file system.
























  Page 3                                                   May 1989
















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