From owner-cvs-all Sun Jul 14 11:51: 0 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F000837B406 for ; Sun, 14 Jul 2002 11:50:49 -0700 (PDT) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A57F43E67 for ; Sun, 14 Jul 2002 11:50:48 -0700 (PDT) (envelope-from mp@FreeBSD.org) Received: (qmail 68086 invoked from network); 14 Jul 2002 18:50:47 -0000 Received: from 12-236-91-101.client.attbi.com (HELO ?10.1.1.73?) (12.236.91.101) by relay1.pair.com with SMTP; 14 Jul 2002 18:50:47 -0000 X-pair-Authenticated: 12.236.91.101 Mime-Version: 1.0 X-Sender: (Unverified) Message-Id: In-Reply-To: <46033.1026669523@critter.freebsd.dk> References: <46033.1026669523@critter.freebsd.dk> Date: Sun, 14 Jul 2002 11:50:07 -0700 To: Poul-Henning Kamp From: Mark Peek Subject: Re: cvs commit: src/release/picobsd/build write_mfs_in_kernel.c Cc: Luigi Rizzo , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 7:58 PM +0200 7/14/02, Poul-Henning Kamp wrote: >Ok, the utility _will_ be going away entirely, because W Gerald >Hicks has found a far better way of doing >the same thing: > >(quoting from his email to me:) > > dd if=/dev/zero of=mdimage -bs=1024 count=4096 > mdconfig -a -t vnode -f mdimage -s 4096k -u 4 > disklabel -r -w md4 auto > newfs /dev/md4c > mount /dev/md4c /mnt > . > . put stuff on it > . > umount /mnt > mdconfig -d -u 4 > objcopy -I binary -O elf32-i386 -B i386 \ > --redefine-symbol _binary_mdimage_start=md_root_image \ > --redefine-symbol _binary_mdimage_size=md_root_image_size \ > mdimage /tmp/mdimage.o > > Then within our kernel config file we add: > makeoption MD_ROOT_IMAGE="/tmp/mdimage.o" > >If anybody is actively working in this area, please get in touch >with him about shepperding the patches into the tree... Great! This looks good. I'll contact him about the patches. Thanks for letting me know about it. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message