Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umount(8) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(2)

fstab(5)

mtab(5)



MOUNT(8)                COMMAND REFERENCE                MOUNT(8)



NAME
     mount, umount - mount and dismount file system

SYNOPSIS
     /etc/mount [ -f ] [ -r ] [ -v ] [ special ] name

     /etc/mount -a

     /etc/umount [ -v ] special

     /etc/umount -a

DESCRIPTION
     Mount announces to the system that a removable file system
     is present on the device special. The file name must exist
     already; it must be a directory (unless the root of the
     mounted file system is not a directory).  It becomes the
     name of the newly mounted root.

     If only name is given without special, name must be an entry
     in the file /etc/fstab (see fstab(5)).

     Umount announces to the system that the removable file
     system previously mounted on device special is to be
     removed.

     These commands maintain and update a table of mounted
     devices in /etc/mtab.  If invoked without an argument, mount
     prints the table.

     Mount and umount must be run by the super-user.

OPTIONS
     -a  All of the file systems described in /etc/fstab are
         attempted to be mounted or unmounted.  In this case,
         special and name are taken from /etc/fstab. The special
         file name from /etc/fstab is the block special name.

     -f  If invoked with this option, mount will not actually
         mount any file systems, but /etc/mtab will be updated as
         if it had.

     -r  Indicates to mount that the file system is to be mounted
         read-only.

     -v  This option will cause mount or umount to print its
         actions as it executes.

     Physically write-protected and magnetic tape file systems
     must be mounted read-only or errors will occur when access
     times are updated, whether or not any explicit write is
     attempted.



Printed 10/17/86                                                1





MOUNT(8)                COMMAND REFERENCE                MOUNT(8)



FILES
     /etc/mtab                mount table

     /etc/fstab               file system table

DIAGNOSTICS
     Not owner
         The caller is not the super-user.

     Permission denied
         The file /etc/mtab could not be updated.

RETURN VALUE
     For both mount and umount:

     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

     For umount:

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

CAVEATS
     Mounting file systems full of garbage will crash the system.

     Mounting a root directory on a non-directory makes some
     apparently good pathnames invalid.

SEE ALSO
     mount(2), fstab(5), mtab(5).














Printed 10/17/86                                                2





































































%%index%%
na:72,82;
sy:154,546;
de:700,1084;
op:1784,1108;
fi:3036,158;
di:3194,273;
rv:3467,810;
ca:4277,219;
se:4496,130;
%%index%%000000000147

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