9fans archive / 1997 / 07 / 57 /    prev next

From: Steve Kotsopoulos steve@tor...
Subject: [9fans] Looking good...
Date: Wed, 16 Jul 1997 09:39:16 -0400

Lucio de Re wrote:
> I managed to test a combination of "mkfs | mkext" to copy part of the 
> CDROM to the 280Meg MO disk, and I'd now like to be more selective 
> about what I put on there while at the same time using the 
> "_conform.map" file to rename files correctly.

What you want to do it boot a cdrom-capable kernel on a plan9 terminal (which
it appears you have already done), and then use mkfs|mkext with a custom
proto file that will copy only the stuff you want.
Look in /lib/proto for the prototype files, in particular /lib/proto/portproto, 
copy portproto to /tmp/myproto, edit it to suit your needs,
and use something like the following on your cdrom terminal: 

mount -c /srv/il!* /n/kremvax
mount /srv/boot /n/boot
disk/mkfs -a -s /n/boot /tmp/myproto | disk/mkext -u -d /n/kremvax

You don't need to think __conform.map if you mount the cdrom on a plan9
system. That "find" script is for unpacking things under Unix.