tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Root device independent bootable disk images



gson@ wrote:

> > OMIT_SWAPIMG was added to save time of dd'ing sd0root images
> > to memory sticks. wd0root images include swap partition for emulators.
> 
> Thank you for the background.  Omitting the swap area saves less than
> 10% of the time to dd the image (128 MB out of 1536 MB); if there are
> no other reasons to maintain two separate images, I don't think it's
> worth it just for that.

No problem for me to merge sd0root and wd0root
(i.e. emuimage and usbimage in distrib/i386/liveimage)
if fstab(5) can be shared.

> > Note one more TODO item is to use makefs(8) -O (offset) option like
> > src/distrib/utils/embedded/mkimage, to avoid concat MBR + ffs image files.
> 
> That would be good, but I think it's orthogonal to the issue at hand.

Ok.  It's in my todo list for many years..

> Also, it looks like it would require adding an offset option to
> installboot as well.

Ah, indeed.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index