Jim Meyering <j...@meyering.net> 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