Eric Wong wrote:
> * 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 */                           \

Thanks.  I'll look at this Sat or Sunday.
What's the motivation?  Have df hide those entries?

Reply via email to