From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: util-linux@vger.kernel.org
Subject: Re: fdisk expert print lists wrong start sector for logical partitions
Date: Thu, 14 Nov 2013 12:57:11 +0100 [thread overview]
Message-ID: <20131114115711.GE13330@x2.net.home> (raw)
In-Reply-To: <5283A380.6020909@ubuntu.com>
On Wed, Nov 13, 2013 at 11:06:24AM -0500, Phillip Susi wrote:
> The expert print function shows all logical partitions as having the
> same start sector as the extended partition that contains them.
Normal mode:
Device Boot Start End Blocks Id System
/dev/sdb1 2048 22527 10240 83 Linux
/dev/sdb2 22528 1228799 603136 5 Extended
/dev/sdb5 24576 229375 102400 83 Linux
/dev/sdb6 231424 1228799 498688 83 Linux
Expert mode:
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size Id
1 00 32 33 0 102 37 1 2048 20480 83
2 00 102 38 1 124 48 76 22528 1206272 05
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
5 00 135 7 1 70 56 14 2048 204800 83
6 00 103 26 14 124 48 76 2048 997376 83
It's correct, although probably it seems strange at a first glance.
It dumps MBR and EBR tables, nothing else. It means that you can
see all the values as stored on the device without any calculation.
I agree that this info is not too useful. Maybe we can change this old
thing and describe the whole chain of the MBR->EBR->EBR... in more
readable and more precise way. Not sure, but I guess nobody cares
about this output backward compatibility.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2013-11-14 11:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 16:06 fdisk expert print lists wrong start sector for logical partitions Phillip Susi
2013-11-14 11:57 ` Karel Zak [this message]
2013-11-14 16:24 ` Phillip Susi
2013-11-14 22:21 ` Karel Zak
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=20131114115711.GE13330@x2.net.home \
--to=kzak@redhat.com \
--cc=psusi@ubuntu.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.