Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 11:50:07 -0700
From:      Mark Peek <mp@FreeBSD.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Luigi Rizzo <luigi@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/picobsd/build write_mfs_in_kernel.c
Message-ID:  <p05111a12b95777128625@[10.1.1.73]>
In-Reply-To: <46033.1026669523@critter.freebsd.dk>
References:  <46033.1026669523@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 7:58 PM +0200 7/14/02, Poul-Henning Kamp wrote:
>Ok, the utility _will_ be going away entirely, because W Gerald
>Hicks <gehixz@bellsouth.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05111a12b95777128625>