Umhm. Notice that use of automounter allows you to use per-driver
filesystems (with ramfs or equivalent acting as library for all metadata
stuff, so that driver would only have to define its nodes and tell the
layout of tree). That way procfs-located part of tree could also go there,
killing all granularity problems and devfs vs. procfs wars.
> > BTW, _what_ was that wrong with using autofs for that instead of
> > reinventing the wheel?
>
> Perhaps because adding a devfsd mechanism to devfs is more lightweight
> on the kernel side. fs/autofs/ is 68 blocks on my box, fs/devfs/ is
> just under twice that. I know obj side != source size, but I'd guess a
> lot less than half of devfs is devoted to the devfsd protocol....
autofs also contains a thing or two that can be cleaned up. And it's 42k
on this box (counting comments).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/