From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 13 17:42:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA6FC16A40F for ; Fri, 13 Oct 2006 17:42:16 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 15A7443D8E for ; Fri, 13 Oct 2006 17:42:15 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 87100 invoked by uid 2001); 13 Oct 2006 17:42:15 -0000 Date: Fri, 13 Oct 2006 12:42:15 -0500 From: "Rick C. Petty" To: freebsd-hackers@freebsd.org Message-ID: <20061013174215.GB83555@keira.kiwi-computer.com> References: <20061013074136.GA31459@zen.inc> <20061013080407.GA26522@britannica.bec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061013080407.GA26522@britannica.bec.de> User-Agent: Mutt/1.4.2.1i Subject: Re: Fscking a partition mounted Read only... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 17:42:16 -0000 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