From: Mike Frysinger Date: Fri, 13 Apr 2007 11:15:44 +0000 (-0400) Subject: mount: don't umount sysfs when running umount -a X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b4d210d04492f926c5c21cfc609fb796c1b33f8;p=util-linux mount: don't umount sysfs when running umount -a Signed-off-by: Mike Frysinger Signed-off-by: Martin Schlemmer --- 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);