From owner-freebsd-current Sat Dec 7 5:59:52 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 19C6837B401; Sat, 7 Dec 2002 05:59:51 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D30543E4A; Sat, 7 Dec 2002 05:59:50 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id gB7DxbBF002951; Sat, 7 Dec 2002 08:59:37 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 7 Dec 2002 08:59:37 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Bruce Evans Cc: Archie Cobbs , Kirk McKusick , Julian Elischer , freebsd-current@FreeBSD.ORG, Thomas-Henning von Kamptz Subject: Re: backgroud fsck is still locking up system (fwd) In-Reply-To: <20021207235810.C12406-100000@gamplex.bde.org> Message-ID: 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 Sun, 8 Dec 2002, Bruce Evans wrote: > On Fri, 6 Dec 2002, Archie Cobbs wrote: > > > So in summary my recommendation is to add a big warning to the > > growfs(1) man page that is should not be run on the root partition, > > even if you have booted single-user mode and haven't mounted / yet. > > I.e., to grow a root partition, you must boot from a different partition. > > 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 > in a general form: > > .... Currently growfs can only enlarge unmounted file systems. Do not > try enlarging a mounted file system, your system may panic and you will > not be able to use the file system any longer... 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... Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message