Subject: Re: problems assessing disk size with ahcisata
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 11/05/2007 20:04:45
On Mon, Nov 05, 2007 at 12:47:41PM +0000, Steven M. Bellovin wrote:
> On Mon, 5 Nov 2007 08:02:09 +0000
> David Laight <david@l8s.co.uk> wrote:

> > What does 'sysctl machdep.diskinfo' show?
> > 
> > 	David
> > 
> This is what it shows when running in compatibility mode:
> machdep.diskinfo: 80:312581808(1023/240/63),2  wd0:80
> 
> If you want, I'll reboot with SATA set.

You can get the info from the shell of the install media
 
> I don't know what the 80 means; the rest is obviously the geometry, and
> that was displayed correctly during sysinst's request that I verify it.

The 0x80 is the bios disk number, the rest is the raw geometry saved
from the bios.

	David

-- 
David Laight: david@l8s.co.uk