在x86电脑上使用fdisk就能查看所有硬盘的信息,n1为android mmc分区,通过u盘引导linux后查看分区方法如下
查看mmc存储的设置号:
cat /proc/devices |grep mmc
179 mmc
查看对应的分区信息:
cat /proc/partitions |grep 179
179 0 7634944 mmcblk0
179 1 4096 mmcblk0p1
179 2 65536 mmcblk0p2
179 3 524288 mmcblk0p3
179 4 8192 mmcblk0p4
179 5 32768 mmcblk0p5
179 6 32768 mmcblk0p6
179 7 8192 mmcblk0p7
179 8 8192 mmcblk0p8
179 9 32768 mmcblk0p9
179 10 32768 mmcblk0p10
179 11 32768 mmcblk0p11
179 12 1310720 mmcblk0p12
179 13 5419008 mmcblk0p13
179 96 512 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
查看分区映射:
ls -al /dev/block/179*
lrwxrwxrwx 1 root root 10 Jul 29 09:08 /dev/block/179:0 -> ../mmcblk0
lrwxrwxrwx 1 root root 13 Jul 29 09:08 /dev/block/179:1 -> ../bootloader
lrwxrwxrwx 1 root root 7 Jul 29 09:08 /dev/block/179:10 -> ../misc
lrwxrwxrwx 1 root root 7 Jul 29 09:08 /dev/block/179:11 -> ../boot
lrwxrwxrwx 1 root root 9 Jul 29 09:08 /dev/block/179:12 -> ../system
lrwxrwxrwx 1 root root 7 Jul 29 09:08 /dev/block/179:13 -> ../data
lrwxrwxrwx 1 root root 11 Jul 29 09:08 /dev/block/179:2 -> ../reserved
lrwxrwxrwx 1 root root 8 Jul 29 09:08 /dev/block/179:3 -> ../cache
lrwxrwxrwx 1 root root 15 Jul 29 09:08 /dev/block/179:32 -> ../mmcblk0boot0
lrwxrwxrwx 1 root root 6 Jul 29 09:08 /dev/block/179:4 -> ../env
lrwxrwxrwx 1 root root 7 Jul 29 09:08 /dev/block/179:5 -> ../logo
lrwxrwxrwx 1 root root 11 Jul 29 09:08 /dev/block/179:6 -> ../recovery
lrwxrwxrwx 1 root root 15 Jul 29 09:08 /dev/block/179:64 -> ../mmcblk0boot1
lrwxrwxrwx 1 root root 6 Jul 29 09:08 /dev/block/179:7 -> ../rsv
lrwxrwxrwx 1 root root 6 Jul 29 09:08 /dev/block/179:8 -> ../tee
lrwxrwxrwx 1 root root 8 Jul 29 09:08 /dev/block/179:9 -> ../crypt
lrwxrwxrwx 1 root root 14 Jul 29 09:08 /dev/block/179:96 -> ../mmcblk0rpmb
然后可以使用fdisk查看特定分区信息了,如查看mmcblk0p13:
fdisk -l /dev/data
标签:none