From 3d9f260bd497d7d71a380517bd9ef620159a4fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Tue, 31 Mar 2009 22:31:48 +0000 Subject: [PATCH] Always ignore "none" FS type. See #577537. svn path=/trunk/; revision=2816 --- sysdeps/linux/mountlist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/linux/mountlist.c b/sysdeps/linux/mountlist.c index cc6b797c..95703bcd 100644 --- a/sysdeps/linux/mountlist.c +++ b/sysdeps/linux/mountlist.c @@ -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)) {