[parted-devel] [PATCH] mac: support sector size > 512 correctly

Phillip Susi psusi at ubuntu.com
Sun May 25 21:29:45 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 03/01/2014 03:43 PM, Sergei Antonov wrote:
> This patch fixes several problems found when trying to do Apple 
> Partition Map on a 4K-sector iPod. The problems happened because
> of unneeded conversion between physical sectors and 512-byte
> units. For devices with sector 512 the conversion did no harm, for
> others it did.

Thanks for the patch, I confirmed the problem easily with a scsi_debug
4k disk and compared the way the kernel interpreted the partition
table with the way parted did.  I pushed your patch after adding a
NEWS entry.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTgmDJAAoJEI5FoCIzSKrwbHYH/R/NUbvUmM3xEpJ2G5Z1G68/
3fCEjJTYTdDzqtz29w87P4VjEGVmUIkoQBLSRtg82Ww+XCvELG/ldJE57Fr2LL/R
jLEI/JHZQRKFEadv1BQayiB4/LN/ERSpEmZ2eNRkRcusJlBpK3NVOBOwUD1W1PGy
x25DtEQ9+y1veemHDaR/Z0P0SL4/fCv8iZemMzSyGHN4WmQ+u14i+a9qZjyBHkO+
oElXxK+Mzks47tGgMX2VTLsHnfglXMJeFKDgbA09uxNofpDcYEgbUK0KJq3o5X2E
yJiAVuj3Iubzm4kiQMoqtrAfozMWU/S37lq6INYs02gwbgE4It4+4Cu5r8zxZeE=
=Bs6Z
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list