Subject: Re: Building disks without HP-UX?
To: Patrick Thomas <thomas@cps.cmich.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 06/19/1995 10:51:40
On Sat, 17 Jun 1995 14:35:27 -0400 (EDT)
Patrick Thomas <thomas@cps.cmich.edu> wrote:
> drive. Since I don't have an HP-UX machine (or, more specifically, I
> don't have HP-UX... I guess it *could* run on my 400t), I'm faced with
> this problem again. Is there a platform-independant way to do this?
> Or do I need to beg for help with it again? :-)
There shouldn't be any reason why you can't hook the disk up to some
other box and run the `makedisk' program that comes with the 1.0
distribution. The source is available with the binary.
Note that you must hook it up to a system that will default to `c
partition is whole disk' if there is no disklabel present. Fortunately,
HP-UX, since it doesn't support disklabels (or partitions, really, for
that matter) has no problem with this. NetBSD/hp300 will also do this;
it doesn't use the MI SCSI code (yet).
Looking at sdgetdisklabel() in /sys/scsi/sd.c leads me to believe that
the MI SCSI code has this behavior, but I've not tried it, so your
mileage may vary.
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939