Subject: Re: Trying to mount a root mfs in read-write with current
To: Chapman Flack <nblists@anastigmatix.net>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 05/04/2006 20:55:16
nblists@anastigmatix.net said:
> It may be something changed in option handling

Don't know whether this is related to the mfs problem, but there
was a change a while ago to mount argument verification which has
strange side effects. I only could observe this in conjunction with
the "getargs" option however:

$ /sbin/mount | grep wd0a
/dev/wd0a on / type ffs (soft dependencies, local)
$ mount_ffs -o getargs /dev/wd0a /
[no output, this is OK here]
$ mount_ffs -o getargs,rw /dev/wd0a /
$ mount_ffs -o getargs,ro /dev/wd0a /
mount_ffs: /dev/wd0a on /: incorrect super block
[this is nonsense]
$ mount_ffs -o getargs,update /dev/wd0a /
mount_ffs: /dev/wd0a on /: specified device does not match mounted device
[nonsense too]

One might argue that a combination of "getargs" with something
else doesn't make sense. Historic behaviour is however that the
kernel ignores other flags if "getargs" is set.

best regards
Matthias