Re: what precisely is partition_entry_lba?

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

 



On Mon, Sep 22, 2014 at 09:44:05PM +0200, Benno Schulenberg wrote:
> 
> Hi,
> 
> In libfdisk/src/gpt.c the function gpt_list_disklabel() prints
> a GPT header, and one of the things it prints says:
> 
> _("Partitions entries LBA: %ju"), h->partition_entry_lba
> 
> In the struct this variable is described as:
> 
> uint64_t    partition_entry_lba; /* stat LBA of the partition entry array */
> 
> This doesn't make sense to me.  Shouldn't this say something
> like "Starting block of the array of partition entries" instead?

EFI standard:

"The start of the GPT Partition Entry Array is located at the LBA
 indicated by the Partition Entry LBA field."

> All this use of 'lba' is confusing to me, as it stands for
> "logical block addressing", and what seems to be meant
> is simply "logical block" or "logical block number".  No?

Well, "LBA" is usually used as unit (especially in storage slang).
Don't think about it as about abbreviation :-)


IMHO the fdisk message "Partitions entries LBA: %ju" is fine, it's
better to follow commonly terminology.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux