Always ignore "none" FS type.

See #577537.

svn path=/trunk/; revision=2816
This commit is contained in:
Benoît Dejean
2009-03-31 22:31:48 +00:00
parent 2ed2120869
commit 3d9f260bd4

View File

@@ -92,6 +92,8 @@ ignore_fs(const char *fstype, IgnoreList** ig)
*ig = ignore_list_new();
ignore_list_add(*ig, "none");
if ((fs = fopen("/proc/filesystems", "r")) != NULL) {
while (fgets(line, sizeof line, fs)) {
if (!strncmp(line, "nodev", 5)) {