From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 13 18:49:39 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 7A9A816A49E for ; Fri, 13 Oct 2006 18:49:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CEB643D55 for ; Fri, 13 Oct 2006 18:49:37 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9DInSqT016680; Fri, 13 Oct 2006 14:49:34 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org, rick-freebsd@kiwi-computer.com Date: Fri, 13 Oct 2006 14:16:51 -0400 User-Agent: KMail/1.9.1 References: <20061013074136.GA31459@zen.inc> <20061013080407.GA26522@britannica.bec.de> <20061013174215.GB83555@keira.kiwi-computer.com> In-Reply-To: <20061013174215.GB83555@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610131416.51379.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 13 Oct 2006 14:49:35 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2030/Fri Oct 13 09:34:34 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: Fscking a partition mounted Read only... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 18:49:39 -0000 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