Date: Sun, 14 Jul 2002 19:58:43 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Mark Peek <mp@FreeBSD.org> 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: <46033.1026669523@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 14 Jul 2002 10:12:21 PDT." <p05111a10b9575f70fc2d@[10.1.1.73]>
next in thread | previous in thread | raw e-mail | index | archive | help
>Let me phrase it a bit stronger. I have used this utility in the past >for PowerPC porting and I foresee myself using it in the future. I >don't see a need for you to continue carrying it around in the >picobsd tree (especially if you're not using it) but I object to it >being totally removed from the system. 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... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. 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?46033.1026669523>