Fscking a partition mounted Read only...
Rick C. Petty
rick-freebsd at kiwi-computer.com
Fri Oct 13 10:42:16 PDT 2006
On Fri, Oct 13, 2006 at 10:04:07AM +0200, Joerg Sonnenberger wrote:
> On Fri, Oct 13, 2006 at 09:41:37AM +0200, VANHULLEBUS Yvan wrote:
> >
> > Later, if root filesystem is remounted readonly, then fsck is called,
> > it will says "NO WRITE ACCESS".
>
> mount -ur /
I'm pretty sure that's what he tried (hence "remounted readonly"). I've
noticed this behavior as well and it is quite frustrating. If you boot
single-user, / will be mounted read-only and you can fsck it. If you do:
mount -u /
mount -u -r /
You can no longer fsck it. I've been meaning to track this down and/or
file a PR. I'm pretty sure this used to work just fine in 3.x and 5.x.
-- Rick C. Petty
More information about the freebsd-hackers
mailing list