Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fstab(4)

fuser(1M)

mnttab(4)

mount(2)

setmnt(1M)

umount(2)

MOUNT(1M)  —  Kubota Pacfic Computer Inc. (Essential Utilities)

NAME

mount, umount − mount and unmount file systems and remote resources

SYNOPSIS

/etc/mount [[-r] [-f fstyp] special directory]
/etc/mount [[-r] [-f NFS [ option ] ] resource directory]
/etc/umount special

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. 

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 an incomplete argument list, mount searches /etc/fstab for the missing arguments. 

The following options 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. 

-f NFS indicates that an NFS file system is to be mounted.  NFS options may be added after NFS separated by commas.  The available NFS options are:

bg retry mounting in the background. 

intr allow keyboard interrupts on hard mounts. 

soft return error if the server doesn’t respond. 

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

retrans=n
set the number of NFS retransmissions to n

port=n
set the server IP port number to n

special indicates the block special device that is to be mounted on directory.  If the file system type 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.  If the file system type is NFS, then mount attempts to translate resource into a special of the form hostname:/pathname, and then proceeds as if a special were originally specified. 

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

umount announces to the system that the file system previously mounted special or resource is to be made unavailable.  If invoked with an incomplete argument list, umount searches /etc/fstab for the missing arguments. 

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/mnttabmount table
/etc/fstabfile system table

SEE ALSO

fstab(4), fuser(1M), mnttab(4), mount(2), setmnt(1M), umount(2)

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 mounted under another name.  A remote resource mount will fail if the resource is not available. 

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. 

September 02, 1992

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