[RULE] Boot-floppy detect.

Michael Fratoni mfratoni at tuxfan.homeip.net
Sun Jan 26 19:58:30 EET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 26 January 2003 12:31 pm, Vegard Munthe wrote:
> > I've made modifications to the detect boot floppy.
> > [ ... ]
> >      Machine ID: machine-1043448889
>
> You really put pressure on me to get my backend up and running.
> Excellent! But I will also make a non-database based verion of the
> disk, since few groups that do computer registration actually have
> people to set up such a database system. I'll use cut to parse the
> report.txt file, and display it on the console. This way they can
> continue using their existing paper (yes, paper!) registration method
> unrestricted, but with far better accuracy, if they are so inclined.

Just a FYI, before you try this. Making boot floppies isn't really the 
dark art many people imagine it to be. To make modifications, without 
rebuilding the entire disk from scratch....

mount the boot floppy
cp /mnt/floppy/rootfs.gz ~/
mkdir tmp
gunzip rootfs.gz
mount -o loop rootfs tmp
make your edits to tmp/...
umount tmp
gzip -9 rootfs
cp rootfs.gz /mnt/floppy
umount /mnt/floppy

You'll want to look at tmp/etc/inittab and tmp/usr/sbin/write_report.sh

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+NCHGn/07WoAb/SsRAqnQAKCpd4NF7neSb9FrTSlKTPaKHWDv5wCeJWVY
VnXuUJGSSCQMrEP5HBrbs2Q=
=Dm5e
-----END PGP SIGNATURE-----



_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list