Tuesday, October 29, 2019

What is the relationship between fdisk and disklabel?

Hi!.

In my opinion disklabel and fdisk whow very different information.
Why offset in disklabel for a partition is different from fdisk output?
423202816 and 433358194
When I add label for partition 3 as in fdisk output i get overlapping error.



disklabel
# /dev/rsd0c:
....
total sectors: 1000215216
boundstart: 433358194
boundend: 1000215183
drivedata: 0

16 partitions:
# size offset fstype [fsize bsize cpg]
a: 553568256 423202816 RAID
c: 1000215216 0 unused
i: 1126400 2048 MSDOS

fdisk
Disk: sd0 Usable LBA: 34 to 1000215182 [1000215216 Sectors]
#: type [ start: size ]
------------------------------------------------------------------------
0: EFI Sys [ 2048: 1126400 ]
3: FAT12 [ 211014485: 222343709 ]
4: OpenBSD [ 433358194: 566856989 ]
--
Dmitry Orlov

No comments:

Post a Comment