From 3bcedd10d2a8676f5b5bbf6be8d8fb71593775d5 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Mon, 17 Dec 2012 09:24:45 +0400 Subject: [PATCH] Sync with gnulib 40f82767840187c20051ca99385f75a42f92de99. mountlist: recognize more "dummy" file systems * src/filenamager/mountlist.c (ME_DUMMY_0): Add these dummy FS names to the list: - "debugfs" virtual filesystem for kernel debugging - "devpts" PTY slave filesystem - "devtmpfs" device filesystem on top of tmpfs/ramfs - "fusectl" control filesystem for FUSE - "mqueue" enumerates POSIX message queues - "rpc_pipefs" kernel <-> userspace bridge for NFS - "sysfs" is for exporting kernel objects - "devfs" device filesystem for Linux 2.4 and FreeBSD Signed-off-by: Andrew Borodin --- src/filemanager/mountlist.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/filemanager/mountlist.c b/src/filemanager/mountlist.c index 21706278e..85d57b22c 100644 --- a/src/filemanager/mountlist.c +++ b/src/filemanager/mountlist.c @@ -205,6 +205,16 @@ (strcmp (Fs_type, "autofs") == 0 \ || strcmp (Fs_type, "proc") == 0 \ || strcmp (Fs_type, "subfs") == 0 \ + /* for Linux 2.6/3.x */ \ + || strcmp (Fs_type, "debugfs") == 0 \ + || strcmp (Fs_type, "devpts") == 0 \ + || strcmp (Fs_type, "devtmpfs") == 0 \ + || strcmp (Fs_type, "fusectl") == 0 \ + || strcmp (Fs_type, "mqueue") == 0 \ + || strcmp (Fs_type, "rpc_pipefs") == 0 \ + || strcmp (Fs_type, "sysfs") == 0 \ + /* FreeBSD, Linux 2.4 */ \ + || strcmp (Fs_type, "devfs") == 0 \ /* for NetBSD 3.0 */ \ || strcmp (Fs_type, "kernfs") == 0 \ /* for Irix 6.5 */ \ -- 2.11.4.GIT