fdisk: mismatch between information printed for GPT and MBR disks
Kevin Cernekee
cernekee at gmail.com
Thu Nov 21 21:17:00 UTC 2013
On Thu, Nov 21, 2013 at 1:07 PM, John Spencer
<maillist-busybox at barfooze.de> wrote:
> Disk /dev/sda: 128.0 GB, 128035676160 bytes
> Disk /dev/sdb: 5860533168 sectors, 2794G
>
> 1) mbr prints bytes, gpt sectors
> 2) the order of the size field is reversed
> 3) mbr disk prints "xx.x GB" while gpt disk prints "xxG"
FWIW, the GPT output was originally intended to resemble gdisk (at
least on points 1-2):
# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.6.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 33BBBC53-5180-44F1-AA07-807CDFED482C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
More information about the busybox
mailing list