Subject: disklabel / labeledit
To: None <port-vax@NetBSD.ORG>
From: Bertram Barth <bertram@ifib.uni-karlsruhe.de>
List: port-vax
Date: 07/27/1995 10:26:48
I don't know if other people are using labeledit to change the label
in miniroot.fs/microroot.fs according to the intended layout of the
disk they are about to install to. At least for me it's the preferred 
way of putting a initial label to disk which already holds the correct
parameters/sizes/offsets for this disk.

Just in case anybody can't use labeledit but would like to, you can send 
mail to			bertram@gummo.bbb.sub.org	
-or-			bertram@ifib.uni-karlsruhe.de
holding the protofile for the label you'd like to use and I'll generate
bootblocks holding the label (8K) and send them back as uuencoded mail
(this might take a few days). Then replace the first 8K of mi*root.fs
with the new bootblocks/label and use racopy to install bootblocks/label
onto disk.

Ciao,
	bertram

PS: I've appended the protofile which I'm using for my RD53 and which
    is also used in new miniroot.fs/microroot.fs, so you can modify this.
    Protofiles should hold at least 'a' and 'b' partitions ...
----------------------------------------------------------------------
# /dev/rra1c:
type: MSCP
disk: rd53
label: 
flags:
bytes/sector: 512
sectors/track: 18
tracks/cylinder: 8
sectors/cylinder: 144
cylinders: 963
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

7 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    20160        0    4.2BSD     1024  8192    16 	# (Cyl.    0 - 139)
  b:    15840    20160      swap                    	# (Cyl.  140 - 249)
  c:   138672        0    unused        0     0       	# (Cyl.    0 - 962)
  e:   102672    36000    4.2BSD      512  4096    16 	# (Cyl.  250 - 962)
----------------------------------------------------------------------