Subject: Re: Disktab files/RA82
To: Anders Magnusson <ragge@ludd.luth.se>
From: Rick Copeland <rickgc@calweb.com>
List: port-vax
Date: 03/03/1997 08:41:27
At 06:50 PM 2/28/97 +0100, Anders Magnusson wrote:
>> Hi List,
>> 
>> In the document "How to use edlabel" it makes reference to a file called
>> "disktab", saying that it contains the disk geometry for most DEC disks.
>> Does this file reside in the edlabel program?  If not where does it exist?  
>> 
>The "disktab" file is located in /etc. You can get it from
>/pub/NetBSD/NetBSD-current/src/etc/etc.vax at ftp.netbsd.org.
>
>-- Ragge
>
Ragge,

Below is an excerpt from the disktab file you made referance to above.  I
have selected the RA82 since it is the drive I have. I am uncertain as to
how to apply the information in this listing.  I understand the 57 sectors,
15 tracks, 1423 cylinders, MSCP type, also that "o" = offset, p, b, f etc.
The part that I am uncertain about is the actual offsets and partition sizes
that are shown.  The "c" partition equals the whole drive which I
understand, however if you add up the rest of the partition sizes you get a
total of 2,055,789 sectors!  Also I would expect that the offsets would be
sequential with no breaks between the partitions (ie. "a" partition "oa" =
15884 but the "b" partition does not start until "ob" = 16245) if I read
this correctly.  There is of course something I am missing here, could you
fill me in? 

# RA82: standard, use a-b-h-g or a-b-h-d-e-f
ra82|RA81|DEC RA82 Winchester:\
	:ty=winchester:ns#57:nt#15:nc#1423:\
	:dt=MSCP:\
	:pa#15884:oa#0:ba#8192:fa#1024:\
	:pb#66880:ob#16245:bb#8192:fb#1024:tb=swap:\
	:pc#1216665:oc#0:bc#8192:fc#1024:\
	:pd#15884:od#375345:bd#4096:fd#512:\
	:pe#307200:oe#391590:be#8192:fe#1024:\
	:pf#517275:of#699390:bf#8192:ff#1024:\
	:pg#841320:og#375345:bg#8192:fg#1024:\
	:ph#291346:oh#83790:bh#8192:fh#1024:

Thank You,
Rick Copeland
Information Systems Manager
Intermag, Inc.
rickgc@intermag-inc.com