From owner-freebsd-arch Mon Dec 10 11:21: 4 2001 Delivered-To: freebsd-arch@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 4A38837B416; Mon, 10 Dec 2001 11:21:01 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBAJL0I48202; Mon, 10 Dec 2001 11:21:00 -0800 (PST) (envelope-from dillon) Date: Mon, 10 Dec 2001 11:21:00 -0800 (PST) From: Matthew Dillon Message-Id: <200112101921.fBAJL0I48202@apollo.backplane.com> To: Robert Watson Cc: Peter Wemm , Terry Lambert , freebsd-arch@FreeBSD.ORG Subject: Re: Proposed auto-sizing patch to sysinstall (was Re: Using a larger block size on large filesystems) References: Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> Seriously though, I like the concept but I wonder if it would be better :> query the user.. ie: something like: "(D)elete this partition or :> (M)erge the space into parent?" :> :> Otherwise it becomes harder to delete /home, carve out some space for :> something and recreate a new slightly smaller /home. : :I have to admit I prefer this behavior: on the initial read through of :Matt's description, I said to myself "But what if I just wanted to delete :the partition, not merge it into another?" With the D key defined as :proposed, it would be a lot harder to do this. I'm all for saving :keystrokes, but not if it makes something useful like that substantially :more complicated (or counter-intuitive). : :On a related note, is it currently possible to look at the partition list :and see which ones are auto-sized and might behave that way? Or :alternatively, the output might read: : : Partition Mountpoint Desired size Actual size : /dev/ad0s1e /home 50% (1.2GB) 1GB : :Something to give an indication of the behavior that will result from :doing something to the adjacent partitions. It not that complicated. The vast majority of people use 'A'uto on an empty partition table. There wouldn't be any confusion. Another alternative would be to turn off the 'D'elete feature and have 'A'uto cycle through a number of different configurations. I don't see much of a difference, though I suppose we could put in some esoteric configurations like root-only (/) configs and such. It gets messy though because there are dozens of combinations... for example, root-only-with-swap, root-only-without-swap. I think it is far easier to be given a base set and 'D'elete what you don't want, and to partition things up manually for anything we can't cover with that. -Matt Matthew Dillon :Robert N M Watson FreeBSD Core Team, TrustedBSD Project :robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message