Android 台灣中文網

標題: 長江 U-ta hd7 內建sd卡置換外接SD卡 [打印本頁]

作者: lovedh1190    時間: 2014-3-11 02:39
標題: 長江 U-ta hd7 內建sd卡置換外接SD卡
已root,這是systemetcvold.fstab內的資料,請問要改哪裡?可以內建sd換成外接sd卡,謝謝~

## 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 /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard  /mnt/sdcard1  auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2  auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

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

# usb otg disk
dev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
作者: s970370    時間: 2014-3-11 19:29
lovedh1190 發表於 2014-3-11 02:39已root,這是systemetcvold.fstab內的資料,請問要改哪裡?可以內建sd換成外接sd卡,謝謝~## Vold 2.0 Gen ...

注意:通常第一個裝置名稱會稱為sdcard。第二個裝置通常稱為:sdcard2或extsd依你的機器原本命名修改位置
原本:
dev_mount sdcard /mnt/sdcard
auto /devices/platform/goldfish_mmc.0
/devices/platform/mtk-sd.0/mmc_host

dev_mount sdcard /mnt/sdcard2
auto /devices/platform/goldfish_mmc.1
/devices/platform/mtk-sd.1/mmc_host

把文字互換
dev_mount sdcard /mnt/sdcard2
auto /devices/platform/goldfish_mmc.0
/devices/platform/mtk-sd.0/mmc_host

dev_mount sdcard /mnt/sdcard
auto /devices/platform/goldfish_mmc.1
/devices/platform/mtk-sd.1/mmc_host

儲存後退出。
重啟機器後,進入系統設置的存儲下,就會發現內外卡已經換位了。
作者: s970370    時間: 2014-3-11 19:30
lovedh1190 發表於 2014-3-11 02:39已root,這是systemetcvold.fstab內的資料,請問要改哪裡?可以內建sd換成外接sd卡,謝謝~## Vold 2.0 Gen ...

是沒有#號的喔!!不要搞錯
作者: lovedh1190    時間: 2014-3-13 00:15
s970370 發表於 2014-3-11 19:30
是沒有#號的喔!!不要搞錯

感謝您  已成功




歡迎光臨 Android 台灣中文網 (https://apk.tw/) Powered by Discuz! X3.1