2026年10月31日 · 今日 0 帖 · 会员 6.1万 · 主题 17.4万
登录 · 注册 · 游客,欢迎随便逛逛
返回版块
1000
Lv9有为九子能等级图标
勋章勋章勋章勋章勋章
帖子
9.3万
回复
2,089
积分
60.3万
注册
2006-12-06
[安卓交流]

安卓互换sd卡教程

[复制链接]
查看 485 回复 3
楼主 发表于 | 只看该作者
3 人收藏

如下所示,高手求解,怎么互换sd卡,下面是安卓机的读取sd卡数据结构,求解!!!!有奖励!!!!!!!!!!!!!

## 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 sd* mount for the emulator / Dream

# Mounts the first usable partition of the specified device

dev_mount sd* /storage/sd*0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host

dev_mount sd*2 /storage/sd*1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host

## Example of a dual * setup

# dev_mount left_sd* /mnt/sd*1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0

# dev_mount right_sd* /mnt/sd*2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

## Example of specifying a specific partition for mounts

# dev_mount sd* /mnt/sd* 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

登录回复
123306
Lv8能识八方语等级图标等级图标等级图标等级图标等级图标等级图标
勋章勋章勋章勋章勋章勋章勋章勋章+8
帖子
411
回复
3,848
积分
32.1万
注册
2012-09-25
2 楼

# #沃尔德2.0通用fstab中

# # - 圣Mehat ( san@android.com )

# #

#### #### #### #### #### ###

# #常规设备安装

# #

# #格式: dev_mount的<label> <mount_point>的<part> <sysfs_path1...>

# #标签 - 标签的卷

# #挂接点 - 如卷将被安装

# #部分 - 分区# (从1开始) ,或“自动”的第一个可用的分区。

# # <sysfs_path> - 的sysfs的路径,源设备列表

## #### #### #### #### ####

# #标准SD的例子*安装仿真器/梦

#挂载指定的设备的第一个可用的分区

dev_mount SD * /存储/ SD * 0 EMMC @胖/ devices/platform/goldfish_mmc.0 / devices/platform/mtk-msdc.0/mmc_host

dev_mount SD * 2 /存储/ SD * 1自动/ devices/platform/goldfish_mmc.1 / devices/platform/mtk-msdc.1/mmc_host

# #双*设置举例

# dev_mount left_sd *的/ mnt / SD * 1自动/ devices/platform/goldfish_mmc.0 / devices/platform/mtk-sd.0/mmc_host/mmc0

# dev_mount right_sd *的/ mnt / SD * 2自动/ devices/platform/goldfish_mmc.1 / devices/platform/mtk-sd.2/mmc_host/mmc2

# #指定一个特定的分区挂载的例子

# dev_mount的sd *的/ mnt / SD * 2 / devices/platform/goldfish_mmc.0 / devices/platform/msm_sdcc.2/mmc_host/mmc1

我能帮的只有这些了。

67645
Lv7可吟七步诗等级图标等级图标等级图标等级图标等级图标
勋章
帖子
3
回复
681
积分
3,242
注册
2011-08-06
3 楼

回馈

登录后可以回复这个帖子。旧账号可使用原密码登录。

登录 注册新号
← 返回版块