root@NanoPi2:~# fdisk -l
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 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
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 133119 131072 64M 83 Linux
/dev/mmcblk0p2 133120 7617185 7484066 3.6G 83 Linux
Disk /dev/mmcblk1: 1.9 GiB, 2013265920 bytes, 3932160 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
Disklabel type: dos
Disk identifier: 0x1ea9909d
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 * 12281 3932159 3919879 1.9G e W95 FAT16 (LBA)
/dev/mmcblk1p2 4 5457 5454 2.7M 53 OnTrack DM6 Aux3
/dev/mmcblk1p3 8185 10232 2048 1M 1 FAT12
/dev/mmcblk1p4 10233 12280 2048 1M 1 FAT12
Partition table entries are not in disk order.
root@NanoPi2:~# mount -t vfat /dev/mmcblk1p1 /mnt
root@NanoPi2:~# ls /mnt
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 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
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 133119 131072 64M 83 Linux
/dev/mmcblk0p2 133120 7617185 7484066 3.6G 83 Linux
Disk /dev/mmcblk1: 1.9 GiB, 2013265920 bytes, 3932160 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
Disklabel type: dos
Disk identifier: 0x1ea9909d
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 * 12281 3932159 3919879 1.9G e W95 FAT16 (LBA)
/dev/mmcblk1p2 4 5457 5454 2.7M 53 OnTrack DM6 Aux3
/dev/mmcblk1p3 8185 10232 2048 1M 1 FAT12
/dev/mmcblk1p4 10233 12280 2048 1M 1 FAT12
Partition table entries are not in disk order.
root@NanoPi2:~# mount -t vfat /dev/mmcblk1p1 /mnt
root@NanoPi2:~# ls /mnt
SampleCode System Volume Information
参考
http://blog.csdn.net/linux_xiaomugua/article/details/6974250
参考
http://bbs.elecfans.com/jishu_535606_1_1.html