sfdisk -l Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track Warning: The partition table looks like it was made for C/H/S=*/64/32 (instead of 977024/4/16). For this listing I'll assume that geometry. Units = cylinders of 1048576 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/mmcblk0p1 0+ 21503 21504- 22020064 c W95 FAT32 (LBA) start: (c,h,s) expected (0,2,1) found (1,0,1) /dev/mmcblk0p2 21504 25599 4096 4194304 83 Linux /dev/mmcblk0p3 25600 26367 768 786432 82 Linux swap / Solaris /dev/mmcblk0p4 26368 30463 4096 4194304 83 Linux sfdisk -g /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track sfdisk -G /dev/mmcblk0: 30532 cylinders, 64 heads, 32 sectors/track
fdisk -l Disk /dev/mmcblk0: 32.0 GB, 32015122432 bytes 64 heads, 32 sectors/track, 30532 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Disk identifier: 0x0000c26a Device Boot Start End Blocks Id System /dev/mmcblk0p1 1 21504 22020064 c W95 FAT32 (LBA) /dev/mmcblk0p2 21505 25600 4194304 83 Linux /dev/mmcblk0p3 25601 26368 786432 82 Linux swap / Solaris /dev/mmcblk0p4 26369 30464 4194304 83 Linux