Subject: disklabeling test program
To: None <port-mac68k@netbsd.org>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-mac68k
Date: 10/17/1999 17:35:30
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-1483920592-940137104=:23928
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.SOL.3.96.991017173416.8731I@marcy.nas.nasa.gov>

Doh! I sent this to the wrong list at first! I want to test compatability,
and that's only appropriate for mac68k's. :-)

Please let me know how it does.

---------- Forwarded message ----------
I've written a new MacOS disklabel reading routine, and I was wondering if
folks could test it.

The program will read the disklabel and print out what it gets for the
partitions. Please compare them with your disk labels!

Note: the program will get partition "c" wrong! That's ok! :-)

Just uudecode the attached file, and then untar the contents into a
temporary directory.

Then type
make
./maclabel /dev/rsdXc

where X is the id of one of your scsi disks. The program will print out
what it gets for the partitions on that disk.

Please let me know if something disagrees on a partition other than "c".

Take care,

Bill

---559023410-1483920592-940137104=:23928
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="maclabel.tgz.uu"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.3.96.991016221144.23928U@marcy.nas.nasa.gov>
Content-Description: uuencoded tar file

YmVnaW4gNjQ0IG1hY2xhYmVsLnRneg0KTSdYTChgYCpBIiNAYGBeVTteVS87
NisqPjdeNl9IQl5TIjM4UVFAOSIpQiZBNUFAI0tPNiM6XUUjTElGNA0KTTVb
OURIVCo2NykoLDg+WyxfV1pfW0ouNyM2MEFOUy07TT41MyYyUj0xW10uR19a
WkNTVU1cXUo+LipbXQ0KTVBRXzg6TTdKUD9YXl80ISReWl81OVJVXkVVOksn
QSJdSjU5Vz1fP1c3Xl9OSFovVjlPX1UjVTNdKFg1Kg0KTVZCKixTKCNIQV1M
QEMhOjZbM1ReU1BbIi9ULkAvWz1VTkZWXVxQJEYrVVNUTkY9WEgpRFk9TFYx
WzE6L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