Subject: Re: Installing and other projects
To: Curt Sampson <curt@portal.ca>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 12/11/1995 14:41:57
Curt Sampson writes:
> On Sun, 10 Dec 1995, Perry E. Metzger wrote:
> 
> > What I really need is for someone to hack some ioctls to get disk
> > geometry for unlabeled drives -- given that a lot of other problems
> > fall into place.
> 
> Why not just use the fake disklabel generated for a drive that has
> no label? This seems to give the correct geometry for SCSI drives,
> at least.

How do I extract that efficiently from a C program? (Pardon my
ignorance, but with so many different things to worry about...)

Also, wouldn't it be better to extract the actual geometry just in
case it gets screwed up?

Perry