]> err.no Git - util-linux/commitdiff
mount: don't umount sysfs when running umount -a
authorMike Frysinger <vapier@gentoo.org>
Fri, 13 Apr 2007 11:15:44 +0000 (07:15 -0400)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Apr 2007 21:58:41 +0000 (23:58 +0200)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
mount/umount.c

index 8a59f120eaeaa6fb90590fb2da669708e374e671..6519305738bf059b2a530e66ceb2d285d9d68ab8 100644 (file)
@@ -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);