Subject: Re: VAXbaby rides again! Now she needs some cloning.....
To: NetBSD Bob <nbsdbob@weedcon1.cropsci.ncsu.edu>
From: Anders Magnusson <ragge@ludd.luth.se>
List: port-vax
Date: 10/31/1999 12:46:54
> Now that VAXbaby is happily running 1.4L kernel, I need to clone her
> from a tiny RZ24 onto an RZ25 or RZ26.
> 
> What are the disktab entries for the RZ drives?  I did not see them
> in /etc/disktab, and will need to do something to start the label on
> the larger drive.
> 
You don't need /etc/disktab for SCSI drives; the information is 
extracted from the disks. If you just type:

# disklabel sd0 

you get a prototype disklabel. To write the proto label to your disk:

# disklabel sd0 > gurka
# disklabel -R -r sd0 gurka

will write the label to your disk. To edit the label:

# disklabel -e -r sd0

jumps into your favourite editor. A simpler editing way is:

# disklabel -i sd0

which jumps into an interactive label modifier.

-- Ragge