From owner-svn-src-all@FreeBSD.ORG Wed Jan 23 13:20:03 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1075628D; Wed, 23 Jan 2013 13:20:03 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id E1ABF10A; Wed, 23 Jan 2013 13:20:02 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1 Received: from wanderer.tachypleus.net (adsl-76-208-68-53.dsl.mdsnwi.sbcglobal.net [76.208.68.53]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MH20095VYDAJ830@smtpauth1.wiscmail.wisc.edu>; Wed, 23 Jan 2013 07:20:02 -0600 (CST) X-Spam-PmxInfo: Server=avs-1, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.23.130924, SenderIP=76.208.68.53 X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.208.68.53 X-Wisc-Sender: whitehorn@wisc.edu Message-id: <50FFE37E.3030503@freebsd.org> Date: Wed, 23 Jan 2013 07:19:58 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130112 Thunderbird/17.0.2 To: =?ISO-8859-1?Q?Ulrich_Sp=F6rlein?= , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r245700 - head/usr.sbin/bsdinstall/partedit References: <201301202225.r0KMPxYi041939@svn.freebsd.org> <20130123115324.GA38645@acme.spoerlein.net> In-reply-to: <20130123115324.GA38645@acme.spoerlein.net> X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 13:20:03 -0000 On 01/23/13 05:53, Ulrich Spörlein wrote: > On Sun, 2013-01-20 at 22:25:59 +0000, Nathan Whitehorn wrote: >> Author: nwhitehorn >> Date: Sun Jan 20 22:25:58 2013 >> New Revision: 245700 >> URL: http://svnweb.freebsd.org/changeset/base/245700 >> >> Log: >> Add a simple scripted partitioner. Documentation and more scripting support >> will come soon. This lets the install process have a line like: >> >> bsdinstall scriptedpart 'ada0 GPT {1.5G freebsd-ufs /, 10G freebsd-swap, >> auto freebsd-ufs /usr}' >> >> to set up a system with a 1.5GB /, some swap space, and a /usr using the >> rest of ada0. > > What will be the alignment/offset for these? (and also for the fully > automated case?) > > We should make sure the first partition starts at 1MB all the time, > unless the user points the gun at his feet ... > > Thanks > Uli > The partition alignment always follows the stripesize parameter of the backing GEOM. If that gives wrong alignment (which it never or nearly never seems to, in practice), it needs to be fixed there so that file systems can also plan appropriately. -Nathan