Subject: Re: filesystem hierarchy
To: None <port-macppc@NetBSD.org>
From: Bruce Anderson <brucea@spacestar.net>
List: port-macppc
Date: 04/03/2004 21:19:36
On Sat, Apr 3, 2004 5:17 AM, Jeff Fry <mailto:jefffry@compuserve.com>
wrote:
>Thanks for the information. I just find it odd that this information is 
>reported inaccurately. I would assume that the origin of this info 
>

It is not reported from querying the hardware.
It is a default value in the disklabel, supplied at the time the label was
created.

If you like use disklabel to change the value, but don't expect
the system to do anything with it.

## eg. i386 disklabel ##
puma# disklabel wd0
# /dev/rwd0d:
type: ESDI
disk: mydisk
label: nogood
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 12595
total sectors: 12695760
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a:   100737       63     4.2BSD      512  4096    22   # (Cyl.    0*- 99)
  c: 12695697       63     unused        0     0         # (Cyl.    0*-
12594)
  d: 12695760        0     unused        0     0         # (Cyl.    0 -
12594)
  e: 12594897   100800       RAID                        # (Cyl.  100 -
12594*)