From owner-freebsd-doc@FreeBSD.ORG Sun Jan 20 09:43:11 2008 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1F1416A419 for ; Sun, 20 Jan 2008 09:43:11 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id B5E0C13C442 for ; Sun, 20 Jan 2008 09:43:10 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id m0K9h87W030490 for ; Sun, 20 Jan 2008 10:43:08 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.2/8.14.1) with ESMTP id m0K9h8OY001759 for ; Sun, 20 Jan 2008 10:43:08 +0100 (CET) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.2/8.14.1/Submit) id m0K9h8Uv001758 for freebsd-doc@freebsd.org; Sun, 20 Jan 2008 10:43:08 +0100 (CET) (envelope-from marc) Date: Sun, 20 Jan 2008 10:43:08 +0100 From: Marc Fonvieille To: freebsd-doc@freebsd.org Message-ID: <20080120094308.GA1633@gothic.blackend.org> Mail-Followup-To: freebsd-doc@freebsd.org References: <20080117074631.GJ29976@draenor.org> <20080117140834.GA91753@abigail.blackend.org> <20080118115219.GE12470@draenor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080118115219.GE12470@draenor.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 7.0-PRERELEASE User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: Partition Layout in the Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 09:43:11 -0000 On Fri, Jan 18, 2008 at 01:52:19PM +0200, Marc Silver wrote: > On Thu, Jan 17, 2008 at 03:08:34PM +0100, Marc Fonvieille wrote: > > If it's to use the sizes you have when you press A, you will miss in > > part the point of the section which is: > > > > - introducing a working vanilla layout (not always the default > > sysinstall sizes). > > - example of auto-default ('A') use; > > - exemple of manual partitions creation (which should be different from > > the default sizes you get with 'A'). > > Fair point. Is it then worth at least mentioning in the Handbook what > the default sizes would be if auto partitioning is used, or would that > just end up confusing users? > To quote release notes for 7.0: --- On systems where the disk capacity is larger than (3 * RAMsize + 10GB), the default sizes will now be as follows: Partition Size swap RAMsize * 2 / 512 MB /tmp 512 MB /var 1024 MB + RAMsize /usr the rest (8GB or more) On systems where the disk capacity is larger than (RAMsize / 8 + 2 GB), the default sizes will be in the following ranges, with space allocated proportionally: Partition Size swap from RAMsize / 8 to RAMsize * 2 / from 256MB to 512MB /tmp from 128MB to 512MB /var from 128MB to 1024MB /usr from 1536MB to 8192MB On systems with even less disk space, the existing behavior is not changed. --- As you can see, it's difficult to give what will be used by the auto-partitioning system. Here's what I think: we should give as example of a "good" partition layout something like (in Table 2-2. Partition Layout for First Disk) / from 256MB to 512MB swap RAMsize * 2 /tmp from 128MB to 512MB /var from 128MB to 1024MB /usr the rest Regarding the auto function the current text says: --- Disklabel can automatically create partitions for you and assign them default sizes. Try this now, by Pressing A. You will see a display similar to that shown in Figure 2-19. Depending on the size of the disk you are using, the defaults may or may not be appropriate. This does not matter, as you do not have to accept the defaults. --- Maybe we could use something like that: Disklabel can automatically create partitions for you and assign them default sizes. The default sizes are calculated with an internal partition sizing algorithm based on the disk size. Try this now, by Pressing A. You will see a display similar to that shown in Figure 2-19. Depending on the size of the disk you are using, the defaults may or may not be appropriate. This does not matter, as you do not have to accept the defaults. -- Marc