summaryrefslogtreecommitdiff
path: root/lib/mountlist.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-11-26 07:52:11 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-11-26 07:52:11 +0000
commit1e20020bb87dce3aa5cc7aa6e320893b63bf7410 (patch)
tree8d29f3ec088b676082f38aef70ef67d7e11e82f5 /lib/mountlist.c
parente9c8be100ea7a0d430fa289564db741d3e3e048e (diff)
downloadcoreutils-1e20020bb87dce3aa5cc7aa6e320893b63bf7410.tar.xz
(ME_DUMMY): "none" and "proc" file systems are dummies
too.
Diffstat (limited to 'lib/mountlist.c')
-rw-r--r--lib/mountlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c
index 4b037cc04..b957a973f 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -144,6 +144,8 @@ char *strstr ();
#ifndef ME_DUMMY
# define ME_DUMMY(Fs_name, Fs_type) \
(strcmp (Fs_type, "autofs") == 0 \
+ || strcmp (Fs_type, "none") == 0 \
+ || strcmp (Fs_type, "proc") == 0 \
|| strcmp (Fs_type, "subfs") == 0 \
/* for Irix 6.5 */ \
|| strcmp (Fs_type, "ignore") == 0)