From owner-freebsd-current Sat Dec 7 13:38:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C193B37B401; Sat, 7 Dec 2002 13:38:54 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE1543E4A; Sat, 7 Dec 2002 13:38:53 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id IAA19197; Sun, 8 Dec 2002 08:38:39 +1100 Date: Sun, 8 Dec 2002 08:38:55 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Robert Watson Cc: Archie Cobbs , Kirk McKusick , Julian Elischer , , Thomas-Henning von Kamptz Subject: Re: backgroud fsck is still locking up system (fwd) In-Reply-To: Message-ID: <20021208083004.T14505-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 7 Dec 2002, Robert Watson wrote: > On Sun, 8 Dec 2002, Bruce Evans wrote: > > Er, it should be obvious that growfs can't reasonably work on the mounted > > partitions. growfs.1 doesn't exist, but growfs.8 already has the warning > > ... > > Hmm. I guess one of the interesting questions is: what happened to the > safety belts? I would have thought that GEOM would prevent opening the > partition writable while it was mounted... The kernel doesn't and shouldn't prevent it for the r/o-mounted case (since fsck needs to write to the partition of a mounted file system for at least the case of the root file system mounted r/o), and apparently growfs doesn't prevent it in ths case either. There are lots of safety belts in the kernel for the r/w-mounted case. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message