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
signature.asc
Description: OpenPGP digital signature