Subject: Re: bug#18920: Parted always chooses the logical sector size.

From: dE <[email-masked]>
Date: Sun, 02 Nov 2014 14:37:09 +0530

On 11/02/14 02:46, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 11/01/2014 07:10 AM, dE wrote:
>> Can someone please add an option to set the sector size to custom
>> or/and the physical sector size?
> Why?  Not using the correct sector size doesn't make sense and will
> result in incorrect operation.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEcBAEBCgAGBQJUVU26AAoJENRVrw2cjl5RVygH/i6tpaWM2gTYL8bIBfgs4fdH
> v//RTXsaZt+NjMN+CFDqITn+/T6gMlIrmYqAenG/Sk57Oncyd1wC2Sjv/x3N8Ggn
> p3s7GzOHGaqYmp7bTPnVLCud08MB6qfycL2reeMj3BlspceDVGOhMY0fdz8SYtBI
> YkYisLBlT33P6xlnF66BqWci8EAe1qVOV2LyfHgNS9UqaWRX8siE41IoXvcXqbCX
> fMckf/aw1N+eqIswl9QxmLqT8p422T08EMKbgg83jmaBOYzwVV4bCW/ktMU9b0Im
> qWh1QwrrnbCNxqqf/0jsX4VrS28GivTFOQVq20wHtOiWzBVemy4HiHRS6n7lr44=
> =X5Tq
> -----END PGP SIGNATURE-----

Yes, on a 4K disk, choosing 512 bytes sector size is bad. This's what 
parted does as of the current time cause it chooses the logical sector 
size instead of physical.