Re: [RFC] devfs API

Helge Hafting (helgehaf@aitel.hist.no)
Tue, 12 Nov 2002 11:47:41 +0100


Theodore Ts'o wrote:
>
> On Mon, Nov 11, 2002 at 08:49:22PM -0500, Alexander Viro wrote:

> Hi Al,
>
> It's good that you're trying to clean up the devfs code, but...
>
> How many people are actually using devfs these days? I don't like it
> myself, and I've had to add a fair amount of hair to fsck's
> mount-by-label/uuid code to deal with interesting cases such as
> kernels where devfs is configured, but not actually mounted (it
Either you use devfs, or you don't. Why even support such
an odd case? Those wanting devfs makes the transition once.

> changes what /proc/partitions exports). So I'm one of those who have
> never looked all that kindly on devfs, which shouldn't come as a
> surprise to most folks.

I use devfs and likes it. Perhaps the current _implementation_ is bad,
the _idea_ is certainly good. Seeing only devices I actually have
is so much better than seeing all devices I possibly could
connect. And it is updated automatically whenever something
is added to or removed from the machine.
A cleaner smaller devfs increase the chance of better
maintenance.

I also like having subdirectories instead of a flat /dev, but
that is of course doable with the old way too.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/