Subject: Re: More progress
To: Ben Harris <bjh21@netbsd.org>
From: Ian Fry <Ian.Fry@sophos.com>
List: port-arm26
Date: 11/26/2001 13:29:12
On Fri, Nov 23, 2001 at 12:53:23PM +0000, Ben Harris wrote:
> On Fri, 23 Nov 2001, Ian Fry wrote:
> > (I managed to trash the RISC OS partition in doing so, however :-( )
> > Where does the NetBSD disklabel get written to when you have a disk that
> > is split between NetBSD and RISC OS? I'm sure I ran bb_netbsd after
> > creating a smaller RISC OS partition on the disk. I'm going to retry this
> > over the weekend - it's likely that I missed a step.
> I have a feeling there may be something behaving less than wonderfully
> there.  I've certainly had problems with disklabel(8) writing labels other
> than where the kernel expected to find them.

Okay, I tried this again yesterday, and this is what I've found - mostly from
memory, so some of the details may not be accurate:

   disklabel -i -I wd0 allows a disklabel to be written to disk, and not
affect the RISC OS partition, but the kernel always reports 'wd0: no disk
label' - it seems that the in-core label isn't getting initialised.

   disklabel -R -r wd0 <label> labels the disk and the in-core label is set,
but trashes any RISC OS partition.

Ian.