svn commit: r245700 - head/usr.sbin/bsdinstall/partedit

Nathan Whitehorn nwhitehorn at freebsd.org
Wed Jan 23 13:20:03 UTC 2013


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


More information about the svn-src-all mailing list