bug#24448: Interpretation of partition entry sizes on "4kn" disks

"Brian C. Lane" <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
On Thu, Sep 15, 2016 at 01:54:37PM -0700, Cris Perdue wrote:
> In partition tables, GPT entries specifically, there are 8 byte fields for
> the first and last LBA of the partition. Traditionally logical blocks are
> 512 bytes, but some new disks report sector sizes of up to 4096 bytes as
> both logical and physical sector size.  For these so-called 4kn disks,
> should the partition table entries be interpreted as representing units of
> 4096 bytes, or does the magic number 512 still apply to their partition
> table entries?

LBA always  refers to the drive's block size. So it may be 512 or 4096
or some other value, depending on what the drive reports.

-- 
Brian C. Lane | Port Orchard, WA (PST8PDT)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.