2007-04-12 18:31:42 +02:00
|
|
|
Added sysfs to list of filesystems not to unmount with umount -a [#190385]
|
|
|
|
|
|
|
|
Index: mount/umount.c
|
|
|
|
===================================================================
|
|
|
|
--- mount/umount.c.orig
|
2006-12-19 00:18:10 +01:00
|
|
|
+++ mount/umount.c
|
2007-04-12 18:31:42 +02:00
|
|
|
@@ -721,7 +721,7 @@ main (int argc, char *argv[]) {
|
2006-12-19 00:18:10 +01:00
|
|
|
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);
|