bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Brian C. Lane
Subject: bug#24448: Interpretation of partition entry sizes on "4kn" disks
Date: Mon, 19 Sep 2016 09:15:48 -0700
User-agent: Mutt/1.7.0 (2016-08-17)

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]