On Jan 24, 2012, at 7:49 PM, Bryan Kadzban wrote: >> Why? Can't you mount the devtmpfs both with and without the >> initramfs? > > Not if it's already mounted, unless you want to undo the modifications > that udev has made (by putting a new mount on top), or make changes to > the bootscripts (which is exactly what we're trying to avoid with this > setup). :-)
Just don't run udev in the initramfs. There are use cases for it, but I'd
suggest devtmpfs or mdev as the standard config.
Also note that the mountvirtfs script *already* checks to see if /dev is
mounted. And even if it didn't the change required to operate correctly in both
environments is a single-condition if statement.
Zach
smime.p7s
Description: S/MIME cryptographic signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
