Subject: Disklabel question...
To: None <port-i386@netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: port-i386
Date: 11/28/1999 10:24:27
Hi, all.

I've got a Maxtor 13-gig disk. The specs on the disk note 16383 cylinders.
Disklabel(8) notes 16383 cylinders. Here's what disklabel shows for the
disk:

bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 26520480

If I partition based on 16383 cylinders, I've only used eight gigs of the
disk. If I partition based on 26520480 sectors, I use the whole disk, but
I see 26309 cylinders in use.

This disk was initially labelled with something like:

disklabel wd1 > foo
disklabel -R wd1 foo

Can someone reeducate me? What am I missing here?

(16383 cylinders) * (16 tracks/cylinder) * (63 sectors/track) * (512 bytes)

comes out to eight or so gigs. Substituting 26309 cylinders fails to match
the drive specs or what disklabel says, but it's correct in terms of disk
size... <boggle>

-- 
    Mason Loring Bliss  mason@acheron.middleboro.ma.us  I m m a n e n t i z e
awake ? sleep : dream;  http://acheron.ne.mediaone.net  t h e E s c h a t o n