android中system/etc/vold.fstab文件疑惑
时间:2011-11-11
来源:互联网
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## 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 3 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
## 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
以上代码为android文件系统:android_fs里面的system/etc/vold.fstab的全部内容,其中实际上也只有如下一行其他为注释:
dev_mount sdcard /mnt/sdcard 3 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
我知道这个是类似pc机上的开机自动挂载分区的配置文件,但是这个看不懂,请详细解释一下这几个的作用和代表的意思:
(1) dev_mount sdcard
(2) /sdcard 2
(3) /devices/platform/goldfish_mmc.0
(4) /devices/platform/msm_sdcc.2/mmc_host/mmc1
## - San Mehat ([email protected])
##
#######################
## 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 3 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
## 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
以上代码为android文件系统:android_fs里面的system/etc/vold.fstab的全部内容,其中实际上也只有如下一行其他为注释:
dev_mount sdcard /mnt/sdcard 3 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
我知道这个是类似pc机上的开机自动挂载分区的配置文件,但是这个看不懂,请详细解释一下这几个的作用和代表的意思:
(1) dev_mount sdcard
(2) /sdcard 2
(3) /devices/platform/goldfish_mmc.0
(4) /devices/platform/msm_sdcc.2/mmc_host/mmc1
作者: LinuxZhouYing 发布时间: 2011-11-11
(2) /sdcard 2
挂载点
(3) /devices/platform/goldfish_mmc.0
(4) /devices/platform/msm_sdcc.2/mmc_host/mmc1
设备文件名称, 第一个应该时模拟器的sd设备文件, 第二个时msm芯片sd设备的名称吧
挂载点
(3) /devices/platform/goldfish_mmc.0
(4) /devices/platform/msm_sdcc.2/mmc_host/mmc1
设备文件名称, 第一个应该时模拟器的sd设备文件, 第二个时msm芯片sd设备的名称吧
作者: zhpy_0825 发布时间: 2011-11-11
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28