Re: [PATCH] Driver Core: devtmpfs - kernel-maintained tmpfs-based/dev

From: Greg KH
Date: Tue Aug 11 2009 - 20:40:05 EST


On Tue, Aug 11, 2009 at 08:25:27PM -0400, David Dillow wrote:
> On Tue, 2009-08-11 at 16:55 +0200, Andi Kleen wrote:
> > > No, not really. It isn't hard to make a static /dev, or a rescue initrd
> > > for the cases with dynamic device numbers.
> >
> > There's a world between strictly controlled embedded and fully general
> > distributions.
>
> Sure, and I've acknowledged that. But it doesn't mean this needs a
> kernel solution.
>
> > I want a dynamic /dev, but a fast one that doesn't need initrd or
> > slows down booting.
>
> So use Eric/Arjan's program that does it in 60ms -- you get a
> dynamic /dev, no initrd, fast boot, and no kernel changes required.

Their program only handles it for a reconstruction of /dev based on
sysfs one time at boot. It does not handle things that are added or
discovered by the system after that, you need udev for that.

So it's a great hack for boot time stuff, but not a complete /dev
management replacement like this code can be for numerous systems.

thanks,

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