umount - unmount the file system

Overview

umount [-hV]

umount -and [-nrv] [-t vfstype ]
umount [-nrv] device | dir [...]

description

umount can remove the mount in the current file system files in a directory hierarchy. The file system can be in the form of it in the form of a specified directory can be in the form of special equipment on which it is specified.

Note that when the file system is in use, you can not uninstall operation, etc. must be removed in order to carry out the work is completed. For example, if there are open files or some process is working in a directory of the file system in the current file system, or is it above a swap file is in use. Intervention process can even be umount itself - it opens libc, and libc then may open local files.

umount options for a command:

-V
Print version information and exit.
-h
Display help information and exit.
-v
Run in verbose mode.
-n
The corresponding information is not written after unloading / etc / mtab file.
-r
If the uninstall fails, try to re-mounted read-only.
-a
Uninstall all in / etc / mtab file system description file. (In umount version or later versions, do not uninstall the proc file system)
-t vfstype
Unload the specified type of file system. If you want to specify more than one file system, it can be separated by commas. As before specified file system plus NO , you can uninstall some other file systems other than the file system.
-f
Forced Uninstall (such as unreachable NFS). (This option must be used in version 2.1.116 of the above)

 

Loop equipment

If the / etc / mtab of file have `loop = ... 'such parameters, umount command to mount the release of the loop associated with the device. Any pending loop devices can be `losetup -d 'command to release. See losetup (8).

 

 

Related documents

/ etc / mtab already manifest file system mount. 

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11101824.html