Re: Dynamic Devices

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 10 Oct 1999 02:21:47 -0300


Dan Hollis <goemon@sasami.anime.net> said:
> On Fri, 8 Oct 1999, Horst von Brand wrote:
> > The static solution does exactly this (small wonder, the filesystem was
> > designed for this kind of task). No overhead, no daemons, no database to
> > corrupt/destroy,

> ext2 can still become corrupted and destroy /dev. i have seen this happen
> several times (and looking through newsgroups etc, lots of other people
> have also).

Yes, but ext2 has a lot of machinery associated with it to prevent this. It
is _far_ easier to delete/overwrite/mangle a file than to screw up a
filesystem.

[...]

> It does solve some existing problems though. It eases management (but does
> not eliminate it) and current system is no better. devfs is surely not
> worse management-wise.
>
> > for i in 0 1 2 3 4 5; do
> > MAKEDEV usb$i
> > done
> > is so hard that the kernel _must_ do it for you?

> Tell this to new linux users. "I have to do WHAT to use my new hardware?"
> With devfs, these new devices come automagic with the kernel. It won't end
> with usb...

Some way to make /dev/usb25 appear out of nothing won't give the same
newbie any clue about how to handle it either.

BTW, Linux has worked for newbies for quite some time. Sure, they might get
scared when they look into /dev as set up by their distribution, but they
don't _have_ to rumage around in there.

-
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/