关闭

Vold 2.0 ---- Android-2.3

2189人阅读 评论(0) 收藏 举报

1. Android-2.3 update the vold to v2.0.

The following is the default configuration file vold.fstab (locate at /system/core/rootdir/etc/), you can modify it according to your hardware platform.

----------------------------------------------------------------------------------------------------------------------------------------

## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

#######################
## 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
######################

## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

## Example of a dual card setup
# dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1

## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
----------------------------------------------------------------------------------------------------------------------------------------

  2. According to the vold.fstab file, you can  specify which partition will be mounted after the system boot up.

  3. According to the vold.fstab file, there also can be two SD card mounted at the same time.

 

 

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:389355次
    • 积分:5320
    • 等级:
    • 排名:第5094名
    • 原创:132篇
    • 转载:17篇
    • 译文:7篇
    • 评论:57条
    博客专栏
    最新评论