Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ unmount(2) — UTek 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(2)

mount(8)

umount(8)



UNMOUNT(2)              COMMAND REFERENCE              UNMOUNT(2)



NAME
     unmount - remove a file system

SYNOPSIS
     unmount(name)
     char *name;

DESCRIPTION
     The program unmount announces to the system that the
     directory name is no longer to refer to the root of a
     mounted file system; the directory name reverts to its
     ordinary interpretation.

RETURN VALUE
     The unmount program returns 0 if the action occurred; -1 is
     returned if the directory is inaccessible or does not have a
     mounted file system, or if there are active files in the
     mounted file system; unmount may fail with one of the
     following errors:

     EPERM          The caller is not the superuser.

     ENOTDIR        A component of the path prefix of name is not
                    a directory.

     EINVAL         name is not the root of a mounted file
                    system.

     EBUSY          A process is holding a reference to a file
                    located on the file system.

     EINVAL         The path name contains a character with the
                    high-order bit set.

     ENAMETOOLONG   The component of the path name exceeds 255
                    characters, or the length of the entire path
                    name exceeds 1023 characters.

     ENOENT         name does not exist.

     EACCES         Search permission is denied for a component
                    of the path prefix.

     EFAULT         name points outside the process's allocated
                    address space.

     ELOOP          Too many symbolic links were encountered in
                    translating the path name.

     EIO            An I/O error occurred while reading from or
                    writing to the file system.




Printed 4/6/89                                                  1





UNMOUNT(2)              COMMAND REFERENCE              UNMOUNT(2)



CAVEATS
     The error codes are in a state of disarray; too many errors
     appear to the caller as one value.

SEE ALSO
     mount(2), mount(8), umount(8).

















































Printed 4/6/89                                                  2





































































%%index%%
na:312,82;
sy:394,356;
de:750,416;
rv:1166,1681;
ca:3231,184;
se:3415,199;
%%index%%000000000108

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