[parted-devel] [PATCH] Use BLKSSZGET to get device sector size in _device_probe_geometry()

Brian C. Lane bcl at redhat.com
Thu Mar 17 22:08:35 UTC 2016


On Thu, Mar 17, 2016 at 11:35:15AM -0400, David Cantrell wrote:
> This is a fix for a problem seen on >32G SDHC cards in Raspberry Pi
> devices.  Gather sector size using BLKSSZGET so the constraint and
> alignment code work as expected.

NAK. This is making t2310-dos-extended-2-sector-min-offset fail for some
reason. I'm trying to make sense of why. It prints:

Error: Can't have a logical partition outside of the extended partition
on /dev/sdb.

Even though no logical partition has been created so I'm not sure what's
going on here.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)



More information about the parted-devel mailing list