diff options
author | Dave Reisner | 2012-11-07 19:02:28 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-13 16:46:07 +0100 |
commit | 13ee1c911657bb55f7e624470d9a275540cd6720 (patch) | |
tree | 83622de39a0ed854320aa9113f79aa43d678a75a /sys-utils/umount.8 | |
parent | lscpu: make read_topology() more robust to avoid SIGFPE (diff) | |
download | kernel-qcow2-util-linux-13ee1c911657bb55f7e624470d9a275540cd6720.tar.gz kernel-qcow2-util-linux-13ee1c911657bb55f7e624470d9a275540cd6720.tar.xz kernel-qcow2-util-linux-13ee1c911657bb55f7e624470d9a275540cd6720.zip |
umount: add -R, --recursive option
This allows unmounting of an entire tree of filesystems, which might be
of particular interest for a shutdown initramfs.
[kzak@redhat.com: - always return MOUNT_EX_* codes
- cosmetic changes on coding style]
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/umount.8')
-rw-r--r-- | sys-utils/umount.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-utils/umount.8 b/sys-utils/umount.8 index bdd10a529..b8d435876 100644 --- a/sys-utils/umount.8 +++ b/sys-utils/umount.8 @@ -109,6 +109,10 @@ Each option can be prefixed with .B no to specify options for which no action should be taken. .TP +\fB\-R\fR, \fB\-\-recursive\fR +Recursively unmount each directory specified. Recursion for each directory will +stop if any unmount operation in the chain fails for any reason. +.TP \fB\-r\fR, \fB\-\-read\-only\fR In case unmounting fails, try to remount read-only. .TP |