util-linux-2.39.3-1: libblkid returns invalid physical_sector_size
Christian Franke
Christian.Franke@t-online.de
Tue Apr 2 16:50:55 GMT 2024
Christian Franke via Cygwin wrote:
> ,,,
> BTW, according to the Linux kernel sources, BLKPBSZGET etc return
> 'unsigned int' and not 'unsigned long' since first appearance in
> 2.6.32-rc3 (2009?):
>
> https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/ioctl.c#L276
> https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/compat_ioctl.c#L743
>
> https://elixir.bootlin.com/linux/v6.8.2/source/block/ioctl.c#L533
>
> So I don't understand why the mentioned code would be correct for Linux.
>
It is likely an upstream regression from an 1+ year old commit. I filed
a GH issue:
https://github.com/util-linux/util-linux/issues/2904
More information about the Cygwin
mailing list