I was looking to resize the partition on my little SD card so I could use the whole thing. I'm following the instructions here:
http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD
According to mount, my rootfs is:
/dev/mmcblk0p1 on / type ext4 (rw,noatime,errors=remount-ro,data=ordered)
But if I check the partition map with fdisk:
# fdisk /dev/mmcblk0
Command (m for help): p
Disk /dev/mmcblk0: 3980 MB, 3980394496 bytes
114 heads, 26 sectors/track, 2622 cylinders, total 7774208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 2048 3461119 1729536 83 Linux
I only see one rather small partition. If I look at the other device (which I presume is the eMMC):
# fdisk /dev/mmcblk1
Command (m for help): p
Disk /dev/mmcblk1: 3925 MB, 3925868544 bytes
4 heads, 16 sectors/track, 119808 cylinders, total 7667712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk1p1 * 2048 198655 98304 e W95 FAT16 (LBA)
/dev/mmcblk1p2 198656 7667711 3734528 83 Linux
I see what I expect to see according to the instructions.
But I'm not sure I'm looking at the right partition map/device.
Which one is the SD card?
Thanks,