Date: Wed, 23 Jan 2013 07:19:58 -0600 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: =?ISO-8859-1?Q?Ulrich_Sp=F6rlein?= <uqs@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r245700 - head/usr.sbin/bsdinstall/partedit Message-ID: <50FFE37E.3030503@freebsd.org> In-Reply-To: <20130123115324.GA38645@acme.spoerlein.net> References: <201301202225.r0KMPxYi041939@svn.freebsd.org> <20130123115324.GA38645@acme.spoerlein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FFE37E.3030503>