Re: RFC: Starting a stable kernel series off the 2.6 kernel

Rob Landley
2005-12-10T02:16:56Z

On Tuesday 06 December 2005 08:58, Bill Davidsen wrote:
> Greg KH wrote:
> > On Sun, Dec 04, 2005 at 04:46:31AM +0000, Luke-Jr wrote:
> >>Well, devfs does have some abilities udev doesn't: hotplug/udev
> >>doesn't detect everything, and can result in rarer or non-PnP devices
> >>not being automatically available;
> >
> > Are you sure about that today? And udev wasn't created to do everything
> > that devfs does. And devfs can't do everything that udev can (by
> > far...)
> >
> >>devfs has the effect of trying to load a module when a program looks
> >>for the devices it provides-- while it can cause problems, it does
> >>have a possibility to work better.
> >
> > Sorry, but that model of loading modules is very broken and it is good
> > that we don't do that anymore (as you allude to.)
> >
> >>Interesting effects of switching my desktop from devfs to udev:
> >>1. my DVD burners are left uninitialized until I manually modprobe ide-cd
> >> or (more recently) ide-scsi
> >
> > Sounds like a broken distro configuration :)
> >
> >>2. my sound card is autodetected and the drivers loaded, but the OSS
> >> emulation modules are omitted; with devfs, they would be autoloaded when
> >> an app tried to use OSS
> >
> > Again, broken distro configuration :)
>
> If a new udev config is needed with every new kernel, why isn't it in
> the kernel tarball?

Why isn't inittab in the kernel tarball?

I have a shell script that initializes /dev. (I've posted it here a few
times, somebody ported it to C, and a micro-udev replacement will go into
busybox in 1.2.)

Why isn't there a command shell in the kernel tarball? Kinda hard to use your
system without a shell...

As far as I can tell, what broke with udev was their embedded version of
"libsysfs", which is an abstraction layer I've _never_ understood the point
of. (Because opening single value files in /sys is just too hard. Nobody
needed a "libproc", the parsing of which is actual work, but they felt a need
a libsysfs. Uh-huh...)

Rob
--
Steve Ballmer: Innovation! Inigo Montoya: You keep using that word.
I do not think it means what you think it means.