From 13ee1c911657bb55f7e624470d9a275540cd6720 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 7 Nov 2012 13:02:28 -0500 Subject: 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 Signed-off-by: Karel Zak --- sys-utils/umount.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-utils/umount.8') 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 -- cgit v1.2.3-55-g7522