On Monday 26 May 2003 14:33, John Allison wrote:
hello,
thank you for fixing the e1000.0 driver. i was wondering if you could help
me mount the initdisk image file off of the udpcast floppy 20030524 so i
can add a new driver for the zircom combo cards we have. i can mount the
image a see where all the drivers are but i can't change anything because i
get an error that the image is read only. all i want to do see remove the
drivers i don't need and add the one that i will make the next two months
of summer imaging fast. any help would be great. just for info. i am
running redhat 9, been useing udp for about 1 year and i am a linux user
not a linux programer, so if you could give some details in the
instructions. but most of all thank you for the e1000.0 drive.
JT
John Allison
Technician
Alamance-burlington school system
For space saving, this is a romfs filesystem. The Romfs filesystem has
been designed for compactness: Both the romfs filesystem image itself,
and the driver to access it are much smaller than other alternatives,
such as minixfs.
In order to change it, you need to copy it off the disk to another
directory, do your changes, and then make a new romfs:
mkdir dir.old
mount -o loop -t romfs initrd dir.old
cp -a dir.old dir.new
umount dir.old
[edit your dir.new here]
genromfs -d dir.new -f - -A 4096,/bin/busybox -A 4096,/bin/lzop | gzip -9 -c
initrd.gz
Or, maybe, just make an floppy which contains the xircom card from the
get-go?:
/usr/lib/udpcast/makeImage -m 'e1000 xircom_cb' -f /dev/fd0 -k
/boot/vmlinuz-2.4.21-rc3-udpcast
N.B. There is currently no cardmgr included for now. However, as far
as I know, cardmgr is only needed for *_cs drivers anyways, not for
*_cb.
Alain