From owner-freebsd-current@FreeBSD.ORG Wed Dec 29 21:50:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AF0D16A4CE; Wed, 29 Dec 2004 21:50:38 +0000 (GMT) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06C5543D1D; Wed, 29 Dec 2004 21:50:38 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd4mr2so.prod.shaw.ca (pd4mr2so-qfe3.prod.shaw.ca [10.0.141.213]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9I0032A7C0MB80@l-daemon>; Wed, 29 Dec 2004 14:50:24 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd4mr2so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9I00EHD7C0BSX2@pd4mr2so.prod.shaw.ca>; Wed, 29 Dec 2004 14:50:24 -0700 (MST) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.233.42])2003)) with ESMTP id <0I9I0071R7BYBD@l-daemon>; Wed, 29 Dec 2004 14:50:24 -0700 (MST) Date: Wed, 29 Dec 2004 13:50:21 -0800 From: Colin Percival In-reply-to: <41D324EE.6070409@elischer.org> To: Julian Elischer Message-id: <41D3269D.6020406@wadham.ox.ac.uk> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <41D31B8E.7030305@portaone.com> <41D31CEE.5040803@wadham.ox.ac.uk> <41D31EC9.5050909@portaone.com> <41D324EE.6070409@elischer.org> User-Agent: Mozilla Thunderbird 0.9 (X11/20041107) cc: Maxim Sobolev cc: re@freebsd.org cc: "current@freebsd.org" Subject: Re: Building 4.x releases on 5.x and 6.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 21:50:38 -0000 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