UMOUNT(2) COMMAND REFERENCE UMOUNT(2) NAME umount - remove file system SYNOPSIS umount(special) char *special; DESCRIPTION The umount command announces to the system that the special file is no longer to contain a removable file system; the associated file reverts to its ordinary interpretation. The umount command is limited to the superuser. DIAGNOSTICS The umount command fails when one of the following occur: [EPERM] The caller is not the superuser. [ENOENT] Special or path does not exist. [ENOENT] A component of the path prefix of special or path does not exist. [ENAMETOOLONG] The argument special or path is too long. [ENOTBLK] Special is not a block device. [ENXIO] The major device number of special is out of range (this indicates no device driver exists for the associated hardware). [ENOASCII] The path name special or path contains a character with the high-order bit set. [ELOOP] Too many symbolic links were encountered in translating a path name. [EIO] An I/O error occurred while reading from or writing to the file system. In addition, umount fails when one or more of the following occur: [EINVAL] The requested device is not in the mount table. [EBUSY] A process is holding a reference to a file located on the file system. [EACCES] Search permission is denied for a component of the path name prefix of special. Printed 5/12/88 1
UMOUNT(2) COMMAND REFERENCE UMOUNT(2) [EFAULT] Special points outside the process's allocated address space. RETURN VALUE Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. CAVEATS The umount(2) command is retained for compatibility purposes only; the command unmount(2) supercedes the umount(2) command. SEE ALSO mount(8) and umount(8). Printed 5/12/88 2
%%index%% na:288,79; sy:367,411; de:778,500; di:1278,1691;3329,117; rv:3446,280; ca:3726,414; se:4140,171; %%index%%000000000130