Re: fdisk expert print lists wrong start sector for logical partitions

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

 



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@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