Subject: Re: Trying to mount a root mfs in read-write with current
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 05/04/2006 14:14:51
Olivier Cochard-Labbe --> current-users (2006-05-03 17:50:42 +0200):
> Hi all,
> 
> I'm testing to migrate my software from FreeBSD to NetBSD (want to test
> RaidFrame feature in the place of geom vinum).
> I meet a problem with my 'customized NetBSD release' that use a kernel RAM
> disk image with NetBSD current:
> 
> I want to mount the root filesystem in Read-Write mode, then I put this line
> in the /etc/rc file:
> mount -u -o rw /dev/md0a /
> 
> This works perfectly with NetBSD 3.0.... But with NetBSD current (3.99.18),
> I have this error message:
> mount_ffs: -o update: option not supported
> 
> What are the changes in NetBSD current that prevent to change a kernel RAM
> disk image to read-write ?

Hmm, this probably doesn't help, but I'm using a md(4) root device
with 3.99.18 without any problems:

$ uname -sr
NetBSD 3.99.18
$ mount
/dev/md0a on / type ffs (local)
[...]
$ mount -u -o ro /dev/md0a /
$ mount
/dev/md0a on / type ffs (read-only, local)
[...]
$ mount -u -o rw /dev/md0a / 
$ mount
/dev/md0a on / type ffs (local)
[...]


Regards, Jukka

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