Jeremy Huntwork wrote:

Quite. Currently we have to include *all* SCSI we can as built-ins to catch whatever cd drive the cd might be in. :/ If we could get this working well, it would help a great deal.

I don't know if any of the other live CDs out there are 2.6 based, but certainly there are a number of groups trying to get this stuff working properly.


3) The kernel creates a ramdisk, mounts it as '/' and dumps the contents of the initramfs image there (so now, do we have the contents of the initramfs in memory twice?)

Yes, it's in memory twice.

4) Inside the init, after the modules are loaded, conceivably, we could have init delete all that stuff from the ramdisk (modules, modprobe, hotplug, udev, etc) because it will then mount the cd and symlink to the appropriate dirs which will have copies of all that stuff on the cd.

There is no "after the modules are loaded" :-) The whole point of this exercise is to ensure that the proper modules are loaded before init ever gets started; having /sbin/hotplug and the modules available in early userspace is the method to accomplish that.


I don't know if there would be any reason at all to copy the contents of the initramfs anywhere else, and I don't personally see any reason to have udev in the initramfs (until such time as your init process wants to actually manipulate devices, like starting MD arrays, mounting LVM volumes, etc). The kernel does not use anything in /dev to find the root filesystem, and that's all we're really concerned about here.
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to