bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] mountlist: additional dummy FS names for Linux


From: Eric Wong
Subject: Re: [PATCH v2] mountlist: additional dummy FS names for Linux
Date: Sat, 8 Dec 2012 00:03:02 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Jim Meyering <address@hidden> wrote:
> 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.
> 
> Thanks.  I'll look at this Sat or Sunday.
> What's the motivation?  Have df hide those entries?

It just seems right to mark those as dummy since they
aren't used for normal file storage.

It allows cmogstored[1] to skip some entries and avoid extra
stat() and a tiny amount of memory allocation.  No big deal
with or without it.

[1] http://bogomips.org/cmogstored/README

-- 
Eric Wong



reply via email to

[Prev in Thread] Current Thread [Next in Thread]