GNU bug report logs - #18920
Parted always chooses the logical sector size.

Previous Next

Package: parted;

Reported by: dE <de.techno <at> gmail.com>

Date: Sat, 1 Nov 2014 17:02:03 UTC

Severity: normal

Done: Phillip Susi <psusi <at> ubuntu.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Phillip Susi <psusi <at> ubuntu.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18920: closed (Parted always chooses the logical sector size.)
Date: Wed, 05 Nov 2014 19:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 05 Nov 2014 14:30:33 -0500
with message-id <545A7AD9.3090405 <at> ubuntu.com>
and subject line Re: bug#18920: Parted always chooses the logical sector size.
has caused the debbugs.gnu.org bug report #18920,
regarding Parted always chooses the logical sector size.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18920: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18920
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: dE <de.techno <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: Parted always chooses the logical sector size.
Date: Sat, 01 Nov 2014 16:40:33 +0530
Can someone please add an option to set the sector size to custom or/and 
the physical sector size?


[Message part 3 (message/rfc822, inline)]
From: Phillip Susi <psusi <at> ubuntu.com>
To: dE <de.techno <at> gmail.com>, 18920-done <at> debbugs.gnu.org
Subject: Re: bug#18920: Parted always chooses the logical sector size.
Date: Wed, 05 Nov 2014 14:30:33 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/4/2014 9:56 AM, dE wrote:
> Yes, the kernel reports both -- the logical and the physical.
> Parted knows about it, it shows both the logical and physical
> sector size, but then also it uses the logical sector size. It
> should not. There must be an option at least, and I suggest it
> should be made the default otherwise the partitions may start
> unaligned.

Incorrect:  the logical sector size is what the drive uses to address
sectors, and therefore, how all software, including partitioning tools
addresses the drive.  The physical sector size is only provided as a
hint about the internal structure of the disk because it can have
performance implications.  Partitioning tools use this information to
pick the optimal alignment.  If you run parted -a min, it will take
care to align partitions to a 4k boundary, aka a multiple of 8 logical
sectors.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJUWnrZAAoJEI5FoCIzSKrwIyoH/izigrpVziWEeCfvPy6Wp9P1
FJ9HF4Lp4m1/szSVYYi7TvoUolmOUqMdt14HC179GNI7hFw0ktBTx5E4M+2WDtCO
6ThtLbqugfNQbZETb7nISOEKwMqf+k1s35fvHNB1ZggwOdNHBvS6JsDRvjDD6+gB
WkkACB3ZD94WfRlMmx6ML4WGyY8NxK4c2zXQvFXIb8bd9bsUYKjNe7NE4hSX0Cez
g5hbfjqKyrcNxPiq0J7qHY01JHTgeFJ8eGr+x0WMNXeVADrCKc/TWK+BuH4F2/sR
TBSvYRDZP0DNxIXE6542Ee+d7Ed7SKf1INI041SxkYh64cKLd0/g+sh4+IRBPVY=
=4nVE
-----END PGP SIGNATURE-----


This bug report was last modified 10 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.