util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benno Schulenberg <bensberg@justemail.net>
To: "Util-Linux" <util-linux@vger.kernel.org>
Subject: what precisely is partition_entry_lba?
Date: Mon, 22 Sep 2014 21:44:05 +0200	[thread overview]
Message-ID: <1411415045.2373997.170469709.45708397@webmail.messagingengine.com> (raw)


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?

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?

Benno

-- 
http://www.fastmail.fm - The way an email service should be


             reply	other threads:[~2014-09-22 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 19:44 Benno Schulenberg [this message]
2014-10-01  7:59 ` what precisely is partition_entry_lba? Karel Zak
2014-10-01 19:34   ` Benno Schulenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411415045.2373997.170469709.45708397@webmail.messagingengine.com \
    --to=bensberg@justemail.net \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).