*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> umount (8)              



NAME    [Toc]    [Back]

     umount - unmount file systems

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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
     information is taken from the fstab(5) file.

     The options are as follows:

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

     -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 unmounted.
  This option implies the -a option  and,  unless
             specified  with the -t option, will only unmount NFS

     -t ufs | lfs | external type
             Is used to indicate the actions should only be taken
on filesystems
  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
             action should not be taken.  For example, the umount

                   # umount -a -t nfs,mfs

             umounts all filesystems of the type NFS and MFS.

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

FILES    [Toc]    [Back]

     /etc/fstab  file system table

SEE ALSO    [Toc]    [Back]

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

HISTORY    [Toc]    [Back]

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

OpenBSD     3.6                        February     20,      1994
[ Back ]
 Similar pages
Name OS Title
vfs_unmountall FreeBSD unmount all file systems
pfs_mount HP-UX mount and unmount CD-ROM file systems
umount_nfs HP-UX mount and unmount NFS file systems
umount HP-UX mount and unmount file systems
mount HP-UX mount and unmount file systems
mount_nfs HP-UX mount and unmount NFS file systems
umount_hfs HP-UX mount and unmount HFS file systems
mount_hfs HP-UX mount and unmount HFS file systems
pfs_umount HP-UX mount and unmount CD-ROM file systems
umount_cdfs HP-UX mount and unmount CDFS file systems
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service