Subject: Re: can't write to vnd partition
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-help
Date: 06/14/2005 21:31:02
David Laight --> netbsd-help (2005-06-14 18:23:26 +0100):
> On Tue, Jun 14, 2005 at 01:09:07PM +0200, Jukka Salmi wrote:
> > Hi,
> > 
> > seems as if I can't write to a vnd partition:
> ...
> > $ sudo dd if=/dev/zero of=/dev/rvnd0a
> > dd: /dev/rvnd0a: Read-only file system
> > 2+0 records in
> > 1+0 records out
> > 512 bytes transferred in 0.001 secs (512000 bytes/sec)
> ...
> > What am I missing?
> 
> The sector that (is expected to) contains the NetBSD disklabel is write
> protected.

That's exactly what I was missing. Thanks!


> See disklabel -NW, but be aware that this info is likely to get lost
> once there are no opens on the disk (I think there might be something
> somewhere else that makes it persistent - but I can't remember.)
> 
> 	David
> 
> -- 
> David Laight: david@l8s.co.uk

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~