Subject: Re: default generated disklabels get overwritten?
To: None <tech-kern@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 12/14/2005 14:16:39
On Wed, Dec 14, 2005 at 01:55:53PM +0100, Reinoud Zandijk wrote:
> Dear folks,
> 
> while trying me get read-only udf out to the world this week, i've stumbled 
> on a strage phenomenon. In sys/dev/scsipi/cd.c i can create/specify 
> whatever i want in `getdefaultlabel' but in the end the result i get 
> displayed with disklabel is allways the same: 4.2 BSD on cd0a and unknown 
> on cd0d. Did something change? The call is made, the disclabel is created 
> but is some process post-processing it? It looks like the disklabel entries 
> are simply replaced.

AFAIK the disklabel is reset to default when the device is closed.
Maybe you're running into that ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--