[PATCH parted 3/7] linux: handle incomplete topology information

2010-02-10 Thread Hans de Goede
The topology information returned by libblkid is not always complete (as the kernel does not always have complete information). This patch makes the linux_get_*_alignment() alignment functions handle this. The algorithm used for linux_get_optimum_alignment is: 1) Always use the reported aligment of

[PATCH parted 3/7] linux: handle incomplete topology information

2010-01-30 Thread Hans de Goede
The topology information returned by libblkid is not always complete (as the kernel does not always have complete information). This patch makes the linux_get_*_alignment() alignment functions handle this. The algorithm used for linux_get_optimum_alignment is: 1) Always use the reported aligment of