| Main index | Section 8 | 日本語 | Options |
The options are as follows:
| | |
| All the file systems described in fstab(5) are unmounted. | |
| | |
| All the currently mounted file systems are unmounted, except for those mounted at / or /dev. | |
| | |
| If the filesystem is mounted on an md(4) device (a memory disk), detach it after unmount(2). | |
| | |
| Specify the fstab file to use. | |
| | |
|
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 unmounted.
For NFS, a forced dismount can take up to 1 minute or more to
complete against an unresponsive server and may throw away
data not yet written to the server for this case.
If a process, such as
umount
without the
| |
| | |
|
Only file systems mounted from the specified host will be
unmounted.
This option implies the
| |
| | |
|
Do a forced dismount of an
NFS
mount point without checking the mount path.
This option can only be used with the path to the mount point
node
and the path must be specified exactly as it was at mount time.
This option is useful when a process is hung waiting for an unresponsive
NFS
server while holding a vnode lock on the mounted-on vnode, such that
umount
with the
| |
| | |
|
Unless the
| |
| | |
Is used to indicate the actions should only be taken on
file systems of the specified type.
More than one type may be specified in a comma separated list.
The list of file system types can be prefixed with
"no"
to specify the file system types for which action should
not
be taken.
For example, the
umount
command:
umount -a -t nfs,nullfs unmounts all file systems of the type NFS and NULLFS that are listed in the fstab(5) file. | |
| | |
| Verbose, additional information is printed out as each file system is unmounted. | |
| PATH_FSTAB | |
| If the environment variable PATH_FSTAB is set, all operations are performed against the specified file. PATH_FSTAB will not be honored if the process environment or memory address space is considered "tainted". (See issetugid(2) for more information.) | |
| /etc/fstab | |
| file system table | |
| UMOUNT (8) | January 16, 2024 |
| Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Never write it in C if you can do it in `awk'; Never do it in `awk' if `sed' can handle it; Never use `sed' when `tr' can do the job; Never invoke `tr' when `cat' is sufficient; Avoid using `cat' whenever possible. |
” |
| — Taylor's Laws of Programming | ||