- 查看分区数:
# cat /proc/partitions major minor #blocks name 179 0 30535680 mmcblk0 179 1 4096 mmcblk0p1 179 2 4096 mmcblk0p2 179 3 16384 mmcblk0p3 179 4 16384 mmcblk0p4 179 5 32768 mmcblk0p5 179 6 32768 mmcblk0p6 179 7 53248 mmcblk0p7 179 8 131072 mmcblk0p8 179 9 4096 mmcblk0p9 179 10 2097152 mmcblk0p10 179 11 4096 mmcblk0p11 179 12 30720 mmcblk0p12 179 13 16384 mmcblk0p13 179 14 65536 mmcblk0p14 179 15 28018688 mmcblk0p15
- 查看分区名字:
# ls -l /dev/block/mtd/by-name lrwxrwxrwx root root 2017-11-20 10:46 backup -> /dev/block/mmcblk0p7 lrwxrwxrwx root root 2017-11-20 10:46 boot -> /dev/block/mmcblk0p5 lrwxrwxrwx root root 2017-11-20 10:46 cache -> /dev/block/mmcblk0p8 lrwxrwxrwx root root 2017-11-20 10:46 kernel -> /dev/block/mmcblk0p4 lrwxrwxrwx root root 2017-11-20 10:46 kpanic -> /dev/block/mmcblk0p9 lrwxrwxrwx root root 2017-11-20 10:46 metadata -> /dev/block/mmcblk0p11 lrwxrwxrwx root root 2017-11-20 10:46 minikernel -> /dev/block/mmcblk0p12 lrwxrwxrwx root root 2017-11-20 10:46 miniresource -> /dev/block/mmcblk0p13 lrwxrwxrwx root root 2017-11-20 10:46 misc -> /dev/block/mmcblk0p2 lrwxrwxrwx root root 2017-11-20 10:46 radical_update -> /dev/block/mmcblk0p14 lrwxrwxrwx root root 2017-11-20 10:46 recovery -> /dev/block/mmcblk0p6 lrwxrwxrwx root root 2017-11-20 10:46 resource -> /dev/block/mmcblk0p3 lrwxrwxrwx root root 2017-11-20 10:46 system -> /dev/block/mmcblk0p10 lrwxrwxrwx root root 2017-11-20 10:46 uboot -> /dev/block/mmcblk0p1 lrwxrwxrwx root root 2017-11-20 10:46 userdata -> /dev/block/mmcblk0p15
- 查看分区挂载点:
# cat /proc/mounts rootfs / rootfs ro,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0 none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 adb /dev/usb-ffs/adb functionfs rw,relatime 0 0 /dev/block/platform/ff0f0000.rksdmmc/by-name/system /system ext4 rw,seclabel,relatime,noauto_da_alloc,data=ordered 0 0 /dev/block/platform/ff0f0000.rksdmmc/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc,data=ordered 0 0 /dev/block/platform/ff0f0000.rksdmmc/by-name/metadata /metadata ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc 0 0 /dev/block/platform/ff0f0000.rksdmmc/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc,data=ordered 0 0 /sys/kernel/debug /sys/kernel/debug debugfs rw,relatime,mode=755 0 0 /dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
- 查看磁盘使用情况:
# df Filesystem Size Used Free Blksize /dev 1007.4M 128.0K 1007.3M 4096 /sys/fs/cgroup 1007.4M 0.0K 1007.4M 4096 /mnt/secure 1007.4M 0.0K 1007.4M 4096 /mnt/asec 1007.4M 0.0K 1007.4M 4096 /mnt/obb 1007.4M 0.0K 1007.4M 4096 /dev/usb-ffs/adb: Permission denied /system 2.0G 784.0M 1.2G 4096 /cache 108.0M 72.0K 107.9M 4096 /metadata 3.9M 24.0K 3.8M 4096 /data 26.2G 702.9M 25.5G 4096 /mnt/shell/emulated 26.2G 802.9M 25.4G 4096
- 更详细的内容,可以通过
recovery.img
下的/etc/recovery.fstab
来查看:# Android fstab file. #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> #/dev/block/rknand_user /mnt/internal_sd vfat defaults defaults /dev/block/mmcblk0p1 /mnt/external_sd vfat /dev/block/mmcblk0 defaults /dev/block/rknand_system /system ext4 defaults defaults /dev/block/rknand_cache /cache ext4 defaults defaults /dev/block/rknand_metadata /metadata ext4 defaults defaults /dev/block/rknand_userdata /data ext4 defaults defaults /dev/block/rknand_cust /cust ext4 defaults defaults /dev/block/rknand_custom /custom ext4 defaults defaults /dev/block/rknand_radical_update /radical_update ext4 defaults defaults misc /misc mtd defaults defaults uboot /uboot mtd defaults defaults charge /charge mtd defaults defaults resource /resource mtd defaults defaults parameter /parameter mtd defaults defaults boot /boot mtd defaults defaults recovery /recovery mtd defaults defaults backup /backup mtd defaults defaults minikernel /minikernel mtd defaults defaults miniresource /miniresource mtd defaults defaults
Android分区查看
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 【MySQL】Linux下MySQL 5.5、5.6和5.7的RPM、二进制和源码安装 1.1BLOG文档结构图 ...