From 6b4d210d04492f926c5c21cfc609fb796c1b33f8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Apr 2007 07:15:44 -0400 Subject: [PATCH] mount: don't umount sysfs when running umount -a Signed-off-by: Mike Frysinger Signed-off-by: Martin Schlemmer --- mount/umount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount/umount.c b/mount/umount.c index 8a59f120..65193057 100644 --- a/mount/umount.c +++ b/mount/umount.c @@ -735,7 +735,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); -- 2.39.5