Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 12:42:15 -0500
From:      "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Fscking a partition mounted Read only...
Message-ID:  <20061013174215.GB83555@keira.kiwi-computer.com>
In-Reply-To: <20061013080407.GA26522@britannica.bec.de>
References:  <20061013074136.GA31459@zen.inc> <20061013080407.GA26522@britannica.bec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061013174215.GB83555>