I repeated measurements using fdisk -s PARTITION
with flash cards mounted and got better results. Above results are with cards unmounted.
CF
250880*1024=256,901,120 (exactly the specification!)
SD
123008*1024=125,960,192
(128,450,560 is the spec for CF cards, don\'t know spec for SD cards)
The SD spec calls for 980 cylinders and I measure 960.
256*512*20=2,621,440 is the missing memory. Where are these 20 cylinders?
# fdisk -lu /dev/mmcda
Disk /dev/mmcda: 8 heads, 32 sectors, 961 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/mmcda1 32 246015 122992 83 Linux
#
Sectors start at 32 and end at 246015.
246015*512=125,959,680 ?not what I expect. I thought it would be 128MB.