[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2] mountlist: additional dummy FS names for Linux
From: |
Eric Wong |
Subject: |
[PATCH v2] mountlist: additional dummy FS names for Linux |
Date: |
Fri, 7 Dec 2012 23:14:34 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* lib/mountlist.c (ME_DUMMY_0):
additional dummy FS names for Linux systems.
- "devpts" PTY slave filesystem
- "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
There are likely more dummy FSes I am not aware of.
---
Since my original patch, I've added "devfs"
lib/mountlist.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/mountlist.c b/lib/mountlist.c
index d0fe1b2..359aa10 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -153,6 +153,14 @@
(strcmp (Fs_type, "autofs") == 0 \
|| strcmp (Fs_type, "proc") == 0 \
|| strcmp (Fs_type, "subfs") == 0 \
+ /* for Linux 2.6/3.x */ \
+ || strcmp (Fs_type, "devpts") == 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 */ \
--
Eric Wong