Mercurial > gnulib
changeset 36897:ff41986cbef9
mountlist: recognize more "dummy" file systems
* lib/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
author | Eric Wong <normalperson@yhbt.net> |
---|---|
date | Fri, 07 Dec 2012 23:14:34 +0000 |
parents | 7995aac33b4d |
children | c0f19c8a3ece |
files | ChangeLog lib/mountlist.c |
diffstat | 2 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Dec 11 08:41:16 2012 -0800 +++ b/ChangeLog Fri Dec 07 23:14:34 2012 +0000 @@ -1,3 +1,17 @@ +2012-12-07 Eric Wong <normalperson@yhbt.net> + + mountlist: recognize more "dummy" file systems + * lib/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 + 2012-12-11 Paul Eggert <eggert@cs.ucla.edu> extern-inline: avoid incompatibility with Darwin Libc
--- a/lib/mountlist.c Tue Dec 11 08:41:16 2012 -0800 +++ b/lib/mountlist.c Fri Dec 07 23:14:34 2012 +0000 @@ -153,6 +153,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 */ \