[parted-devel] [PATCH] use 1MB partition alignment with GPT and disks with !512b sector sizes

H. Peter Anvin hpa at zytor.com
Mon Feb 2 16:56:19 UTC 2009


Matt Domsch wrote:
> This creates a new 1MB start alignment constraint, and has GPT use it
> when disks have a logical block size != 512 bytes.  This might need to
> be extended to do so if the disk has a physical sector size != 512
> bytes as well, for the case of 512b logical, 4k physical sectors,
> where we really want the partitions on 4k boundaries at least.

It would be nicer if the alignment could be set by the user to any
desirable power of two.

I think we should have at least a 64K alignment in all cases.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the parted-devel mailing list