Building 4.x releases on 5.x and 6.x

Colin Percival colin.percival at wadham.ox.ac.uk
Wed Dec 29 13:50:38 PST 2004


Julian Elischer wrote:
> Maxim Sobolev wrote:
>> Checked release building scripts and found that there is some 
>> conditional code already which uses vn(4) on older system and md(4) on 
>> newer ones. Will try now to see if I can get it working.
> 
> Didn't jkh point us at a utility that allows the generation of an image
> without requiring any media?
> 
> Or was it someone else?

You're probably thinking of my ports/sysutils/makefs (borrowed shamelessly
from NetBSD).  Given a directory tree and some options (size of disk image,
number of inodes, UFS1 vs. UFS2, etc.) it will create a UFS image.

I use it in my depenguinator to install FreeBSD onto remote linux systems.
(Extract the release tarballs into a staging directory, add some magic,
build a UFS2 image, dd the image to the hard drive, and reboot.)

Colin Percival


More information about the freebsd-current mailing list