svn commit: r221363 - head/sbin/geom/class/part

Andrey V. Elsukov ae at FreeBSD.org
Thu May 12 15:53:41 UTC 2011


On 12.05.2011 19:15, Ulrich Spörlein wrote:
>>   Add "-a alignment" option to gpart(8). When it specified gpart(8)
>>   tries to align partition start offset and size to be multiple of
>>   alignment value.
>>   
> 
> Aligned to what? The disk or the partition scheme? Consider someone
> having a GELI partition of arbitrary alignment, how would a bsdlabel or
> GPT label inside this GELI partition be aligned when 4K alignment is
> requested?

Each partition has three mandatory parameters: start offset, end offset
and partition type. These offsets are within top level provider. With 4K
alignment gpart(8) would try to adjust partition start and end offset to
be multiple of 4K.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20110512/17d355b1/signature.pgp


More information about the svn-src-all mailing list