[Fedora-livecd-list] [PATCH] mayflower: use dynamically allocated loop devices
Douglas McClendon
dmc.fedora at filteredperception.org
Wed Sep 19 07:08:54 UTC 2007
The attached patch causes mayflower to use dynamically allocated loop
devices for the rootfs readonly-base, readwrite-overlay, squashfs, and
osmin loop devices, rather than /dev/loop118,119,120&121.
udev rules were updated, and two new ones added, so that
/dev/live-osmin, /dev/live-squashed, /dev/live-osimg, and
/dev/live-overlay links will be created by udev.
Also, the unnecessary mknod calls referencing those devices were removed.
I tested with a minimal spin under qemu, and everything appeared as it
should. I could mount /dev/mapper/live-osimg-min and it looked fine.
I did another minimal spin with --skip-compression. For some reason I
had to hit ctrl-c at to get past udev starting. I'm pretty sure I've
seen this before and it has nothing to do with this patch. After doing
that, and logging in, I verified that it correctly handled the absence
of a squashfs loop device.
Comments?
-dmc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: livecd.dynamic_loop_devices.patch
Type: text/x-patch
Size: 4359 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070919/97fa77b9/attachment.bin>
More information about the Fedora-livecd-list
mailing list