[prev in list] [next in list] [prev in thread] [next in thread] 

List:       util-linux-ng
Subject:    [PATCH] Dont umount sysfs when running `umount -a`.
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2007-04-13 11:15:44
Message-ID: 11764629441946-git-send-email-vapier () gentoo ! org
[Download RAW message or body]

---
 mount/umount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mount/umount.c b/mount/umount.c
index 676ed8c..7cf77f7 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -718,7 +718,7 @@ main (int argc, char *argv[]) {
 	if (all) {
 		/* nodev stuff: sysfs, usbfs, oprofilefs, ... */
 		if (types == NULL)
-			types = "noproc,nodevfs,nodevpts";
+			types = "noproc,nodevfs,nodevpts,nosysfs";
 		result = umount_all (types, test_opts);
 	} else if (argc < 1) {
 		usage (stderr, 2);
-- 
1.5.1

-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic