看了vold的相关的代码,感觉是用来挂载usb,sdcard的。
android 硬盘挂载的代码是在vold里面吗?
大概在哪里呢 ?
非常感谢。
------解决方案--------------------
你是要找/system/etc/vold.fstab吗?
## Vold 2.0 fstab
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/AMLOGIC_CARD/card_host/memorycard0
dev_mount flash /mnt/flash auto /devices/virtual/mtd/mtd8/avnftl8
dev_mount sata /mnt/sata auto /devices/lm2/host0/target0:0:0/0:0:0:0/block
------解决方案--------------------
dev_mount 设备类型 挂载点 auto 设备节点
fdisk看到你ssd第8个分区的实际设备节点,添加上去就好
/devices/lm2/host0/target0:0:0/0:0:0:0/block 这一项因人而异,大致要表明的意思是,这个分区是在那条总线接口上,由那个控制器管理,具体的分区位置