* fdisk expert print lists wrong start sector for logical partitions
@ 2013-11-13 16:06 Phillip Susi
2013-11-14 11:57 ` Karel Zak
0 siblings, 1 reply; 4+ messages in thread
From: Phillip Susi @ 2013-11-13 16:06 UTC (permalink / raw)
To: util-linux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The expert print function shows all logical partitions as having the
same start sector as the extended partition that contains them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSg6OAAAoJEJrBOlT6nu75Xm8H/1gJG62oJVo1+LsACZpOQJz8
D2/TwwZgAtrxCS6rOE0zq+tA+g2+4SZ611XiNBO3YNZrYRNxp6RpPehbSUFVGLI6
uuFFKobZ5x+xIZVSH6ZV4lO//lEpRM1YN2lhAMRS2svfpoYeYmmLBpa683WNgwvX
Ry86GEBrYCA8bRzqwovhtASgPLH/C3U+iEYbASPdUJpUxQL6CjPmAL6KsL7/EZJg
O8W96cl4B3mubeyIUsAfiIZaYaQwM3A9kdGL9pmMztw4Pl/RwjzCgzNI3ZJ7b7z3
mktjDX3DISvVfyu5+dQQfRj0V0aDR3xFTTOGyb+1i9WJTRa4s/qnH96vo13zGWU=
=zRsJ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: fdisk expert print lists wrong start sector for logical partitions
2013-11-13 16:06 fdisk expert print lists wrong start sector for logical partitions Phillip Susi
@ 2013-11-14 11:57 ` Karel Zak
2013-11-14 16:24 ` Phillip Susi
0 siblings, 1 reply; 4+ messages in thread
From: Karel Zak @ 2013-11-14 11:57 UTC (permalink / raw)
To: Phillip Susi; +Cc: util-linux
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: fdisk expert print lists wrong start sector for logical partitions
2013-11-14 11:57 ` Karel Zak
@ 2013-11-14 16:24 ` Phillip Susi
2013-11-14 22:21 ` Karel Zak
0 siblings, 1 reply; 4+ messages in thread
From: Phillip Susi @ 2013-11-14 16:24 UTC (permalink / raw)
To: Karel Zak; +Cc: util-linux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/14/2013 6:57 AM, Karel Zak wrote:
> 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.
So it isn't saying the partition starts at sector 2048, but rather it
is 2048 sectors from the EBR?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJShPk+AAoJEJrBOlT6nu75oUIH/iuXeQO+m9zuazRX26qJFMmY
OtdPbSX73qEoP+/nB/aKFJH8w20Mlx6z5t9jX6yaZedYkDMXsup8rOzG9nQh854U
ZRGhqfoA5gTfLUqZqAyzyaNT6tCxDIX8IBtC7eLKsz21SwlAWtxiVndS5eQ0ySc3
moW4igUcg5zgwc6JJc5Ybx38T4kT4McBZpJAh3mMhFPww20o8WS3vmAnCYTZi9jt
H3HvR9OBKKEZxmz/Ddlz3YcQ6U5Z941xns/MbxAJMCl8ZY9Fn7dByvCEyuBtQ2Rs
wGz+XQJ1s/fEMDVko6xgEGmiSyQoVe76ux9iHe4u4Z22h+cbbH7AxpYmPhSUfJM=
=YrnF
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: fdisk expert print lists wrong start sector for logical partitions
2013-11-14 16:24 ` Phillip Susi
@ 2013-11-14 22:21 ` Karel Zak
0 siblings, 0 replies; 4+ messages in thread
From: Karel Zak @ 2013-11-14 22:21 UTC (permalink / raw)
To: Phillip Susi; +Cc: util-linux
On Thu, Nov 14, 2013 at 11:24:31AM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/14/2013 6:57 AM, Karel Zak wrote:
> > 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.
>
> So it isn't saying the partition starts at sector 2048, but rather it
> is 2048 sectors from the EBR?
Yep.
Karel
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJShPk+AAoJEJrBOlT6nu75oUIH/iuXeQO+m9zuazRX26qJFMmY
> OtdPbSX73qEoP+/nB/aKFJH8w20Mlx6z5t9jX6yaZedYkDMXsup8rOzG9nQh854U
> ZRGhqfoA5gTfLUqZqAyzyaNT6tCxDIX8IBtC7eLKsz21SwlAWtxiVndS5eQ0ySc3
> moW4igUcg5zgwc6JJc5Ybx38T4kT4McBZpJAh3mMhFPww20o8WS3vmAnCYTZi9jt
> H3HvR9OBKKEZxmz/Ddlz3YcQ6U5Z941xns/MbxAJMCl8ZY9Fn7dByvCEyuBtQ2Rs
> wGz+XQJ1s/fEMDVko6xgEGmiSyQoVe76ux9iHe4u4Z22h+cbbH7AxpYmPhSUfJM=
> =YrnF
> -----END PGP SIGNATURE-----
> --
> To unsubscribe from this list: send the line "unsubscribe util-linux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-14 22:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 16:06 fdisk expert print lists wrong start sector for logical partitions Phillip Susi
2013-11-14 11:57 ` Karel Zak
2013-11-14 16:24 ` Phillip Susi
2013-11-14 22:21 ` Karel Zak
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.