Messages in this thread | | | Date | Tue, 11 Aug 2009 21:31:28 -0700 | From | Arjan van de Ven <> | Subject | Re: [PATCH] Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev |
| |
On Tue, 11 Aug 2009 17:34:33 -0700 Greg KH <greg@kroah.com> wrote:
> 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
yeah you want udev for that anyway for various reasons... (not that udev is expensive per se, the expensive part of it is the exec of modprobe a hundred times... beyond that udev seems pretty cheap to me)
-- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |