MirOS Manual: umount(8)

UMOUNT(8)                BSD System Manager's Manual                 UMOUNT(8)


     umount - unmount file systems


     umount [-fv] special | node
     umount -a [-fv] [-h host] [-t ufs | lfs | external_type]


     The umount command calls the unmount(2) system call to remove a special
     device or the remote node (rhost:path) from the file system tree at the
     point node. If neither special nor node are provided, the appropriate in-
     formation is taken from the fstab(5) file.

     The options are as follows:

     -a      All of the file systems described in fstab(5) are unmounted.

     -f      The file system is forcibly unmounted. Active special devices
             continue to work, but all other files return errors if further
             accesses are attempted. The root file system cannot be forcibly

     -h host
             Only filesystems mounted from the specified host will be unmount-
             ed. This option implies the -a option and, unless otherwise
             specified with the -t option, will only unmount NFS filesystems.

     -t ufs | lfs | external type
             Is used to indicate the actions should only be taken on filesys-
             tems of the specified type. More than one type may be specified
             in a comma separated list. The list of filesystem types can be
             prefixed with "no" to specify the filesystem types for which ac-
             tion should not be taken. For example, the umount command:

                   # umount -a -t nfs,mfs

             umounts all filesystems of the type NFS and MFS.

     -v      Verbose, additional information is printed out as each file sys-
             tem is unmounted.


     /etc/fstab  file system table


     unmount(2), fstab(5), mount(8)


     A umount command appeared in Version 3 AT&T UNIX.

MirOS BSD #10-current         February 20, 1994                              1

Generated on 2015-10-25 00:47:46 by $MirOS: src/scripts/roff2htm,v 1.81 2015/10/16 13:19:09 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2015 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.