Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umount(2) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

unmount(2)

mount(3)




umount(2) umount(2)
NAME umount - unmount a file system SYNOPSIS int umount(spec) char *spec; DESCRIPTION umount is used to unmount System V file systems only. un- mount is used to unmount all others (see unmount(2)). umount requests that a previously mounted file system con- tained on the block special device identified by spec be un- mounted. spec is a pointer to a path name. After unmount- ing the file system, the directory upon which the file sys- tem was mounted reverts to its ordinary interpretation. umount may be invoked only by the superuser. RETURN VALUE Upon successful completion a value of 0 is returned. Other- wise, a value of -1 is returned and errno is set to indicate the error. ERRORS umount will fail if one or more of the following is true. [EPERM] The process's effective user ID is not su- peruser. [ENXIO] spec does not exist. [ENOTBLK] spec is not a block special device. [EINVAL] spec is not mounted. [EBUSY] A file on spec is busy. [EFAULT] spec points to an illegal address. SEE ALSO unmount(2), mount(3). April, 1990 1

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