On Mon, Jan 23, 2012 at 7:58 PM, Zachary Kotlarek <[email protected]> wrote: > > On Jan 22, 2012, at 7:33 PM, Steve Crosby wrote: > >> 3. Populate /dev using busybox cutdown version of udev (mdev) > > > Is there a benefit to mdev over just using tmpdevfs? > > I say that as a current user of mdev; I haven't yet tried a tmpdevfs > initramfs device system. But if I'm understanding it correctly tmpdevfs > should be sufficient for any use were an default-config mdev run would work, > and requires less configuration/tools, less boot scripting, and the need to > wait for a coldplug scan in the initramfs.
I haven't yet reviewed devtmpfs, so didn't implement it in my initial cut of scripts. From reading, it has several significant advantages, including the ability to move the /dev mount to the new root and thus not miss any events and thus not require udev to replay them in the real bootscripts. It is not however automatically mounted in an initramfs (deliberately), so still needs the mount line, but the kernel hotplug helper and scan can be eliminated. Will add to todo list ;) -- -- - Steve Crosby -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
