Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ unmount(2) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(2)

mount(1M)

umount(1M)



     unmount(2)                                             unmount(2)



     NAME
          unmount - remove a file system

     SYNOPSIS
          unmount(name)
          char *name;

     DESCRIPTION
          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
          unmount returns 0 if the action occurred; -1 if if the
          directory is inaccessible or does not have a mounted file
          system, or if there are active files in the mounted file
          system.

     ERRORS
          unmount may fail with one of the following errors:

          [EINVAL]       The caller is not the super-user.

          [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.

     SEE ALSO
          mount(2), mount(1M), umount(1M).

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




















     Page 1                                        (last mod. 1/14/87)



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