wmfsm: Hide "system" file systems.
Patch [1] by roma1390 and Michele Noberasco to fix Gentoo bug #50148 [2]. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch [2] https://bugs.gentoo.org/show_bug.cgi?id=50148
This commit is contained in:
parent
443124b998
commit
b143ff46a6
|
@ -509,7 +509,7 @@ readFileSystems()
|
|||
#if defined IRIX64 || defined(SunOS)
|
||||
strcmp(fstype, "hwgfs") && strcmp(fstype, "autofs") && strcmp(fstype, "proc") && strcmp(fstype, "fd") && !strstr(options, "ignore")
|
||||
#elif defined linux
|
||||
strcmp(fstype, "proc") && strcmp(fstype, "shm")
|
||||
strcmp(fstype, "proc") && strcmp(fstype, "tmpfs") && strcmp(fstype, "devfs") && strcmp(fstype, "ramfs") && strcmp(fstype, "sysfs") && strcmp(fstype, "devpts") && strcmp(fstype, "usbfs")
|
||||
#else
|
||||
1
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue