1
0
forked from pool/util-linux
util-linux/util-linux-2.12r-umount_nosysfs.patch

12 lines
321 B
Diff
Raw Normal View History

--- mount/umount.c
+++ mount/umount.c
@@ -724,7 +724,7 @@
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);