On 04/09/2024 09:21, Roger Pau Monné wrote:
In the absence of that I'm afraid it is a little harder to
judge whether the proposal here is the best we can do at this point.
While I don't mind looking at what we can do to better handle 4K
sector disks, we need IMO to revert to the specification before
67e1c050e36b, as that change switched the hardcoded sector based units
from 512 to 'sector-size', thus breaking the existing ABI.
But that's the crux of the problem. What *is* is the ABI? We apparently
don't have one that all OS subscribe to.
From your findings it appears that the only thing that will work
globally is to define 'sector-size' is strictly 512 and deprecate any
large sector size support of any kind.
Paul