Fscking a partition mounted Read only...
John Baldwin
jhb at freebsd.org
Fri Oct 13 11:49:39 PDT 2006
On Friday 13 October 2006 13:42, Rick C. Petty wrote:
> 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.
I think it's broken in 5.x as well. It's fallout from GEOM IIRC, and it is
annoying.
--
John Baldwin
More information about the freebsd-hackers
mailing list