On 4 December 2016 at 01:55, Josep Lladonosa wrote:
> On 4 Dec 2016 05:40, "Volta" wrote:
>> 1 not aligned
>> 1 aligned
>> -- 8< --
>>
>> So, I fell back to how we used to do this, but the numbers are... weird:
>>
>> -- 8< --
>> $ cat /sys/block/sdi/queue/optimal_io_size
>> 33553920
>
> Maybe thi
Signed-off-by: John Paul Adrian Glaubitz
---
libparted/labels/Makefile.am|1 +
libparted/labels/atari.c| 1969 +++
libparted/labels/pt-limit.gperf |1 +
libparted/libparted.c |4 +
libparted/tests/common.c|3 +
po/P
Hi!
This is the fourth revision of my patch to add support for atari
partition tables in parted. With this update, I have included
atari labels in the t9021-maxima.sh test. For this, I had to move
get_sector_size() to a common location so it can be used in
_implemented_disk_label().
Both patches
Moving get_sector_size() from disk.c to common.c allows
us to use it in _implemented_disk_label() to test for
512-byte sectors. This change is required to be able to
enable this test for atari partition tables for which
support is added in a follow-up patch.
Signed-off-by: John Paul Adrian Glaubit
On 4 Dec 2016 05:40, "Volta" wrote:
>
> I'm not sure if this is a bug in parted (parted 3.2 on Ubuntu 16.04.1LTS
x86-64), or a bug in my understanding of the concepts. Either way I'd like
to know.
>
> I've got a new 8TB drive for which the "optimal" alignment calculated by
parted doesn't satisfy