Subject: Re: disklabel and installboot
To: Hiroyuki Ito <hiroy@netcom.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-i386
Date: 06/30/1997 15:55:24
hiroy@netcom.com (Hiroyuki Ito) writes:


>% man disklabel | col -b | sed -n 75,80p
>     With the -R flag, disklabel is capable of restoring a disk label that was
>     formatted in a prior operation and saved in an ascii file.  The prototype
>     file used to create the label should be in the same format as that pro-
>     duced when reading or editing a label.  Comments are delimited by # and
>     newline.  As with -w, any existing bootstrap code will be clobbered if -r
	        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     is specified and will be unaffected otherwise.
     ^^^^^^^^^^^^^

>% disklabel -Rr sd0 ./protofile
               ^

If I understand the manual page, what you're seeing is consistent with
what the manual page says will happen.  Or are you requesting a change
in behaviour?  That's probably the right thing to do, for ports that
use installboot.

If you try this without -r, does it do what you want?