wshini7316 发表于 2013-11-1 17:49:12

android中怎么将nand分区挂载到sdcard中!!!

原vold.fstab文件中包括:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.0/mmc_host/mmc0
dev_mount extsd /mnt/extsd auto /devices/platform/mxsdhci.2/mmc_host/mmc1
dev_mount udisk /mnt/sdcard/udisk auto /devices/platform/fsl-ehci.1/usb

主要是dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.0/mmc_host/mmc0
他会将sd卡的一个分区挂载到sdcard上作为内存
以上是用sd卡启动。



但我现在用nand启动,我想将nand的上的一个分区挂载到sdcard上,然后将sd卡挂载到extsd上作为外部sd卡。
nand的挂载改成如下格式,不能挂载,具体怎么更改,都涉及到更改什么文件?
dev_mount sdcard /mnt/sdcard auto /block/mtdblock13

linucos 发表于 2013-11-1 20:19:37

手动mount下看

wshini7316 发表于 2013-11-3 18:45:38

linucos 发表于 2013-11-1 20:19 static/image/common/back.gif
手动mount下看

手动mount没有问题,我就是想更改这个文件的设置,更改内部内存的位置,像手机的内部存储不都是nand 吗?我就是想用nand的分区作为这个内存.

wshini7316 发表于 2013-11-4 22:34:06

问题已经解决,有时间将解决方法贴出来。

linucos 发表于 2013-11-5 12:22:02

wshini7316 发表于 2013-11-4 22:34 static/image/common/back.gif
问题已经解决,有时间将解决方法贴出来。

共享一下?

wshini7316 发表于 2013-11-12 22:32:47

dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.0/mmc_host/mmc0
dev_mount extsd /mnt/sdcard /extsd auto /devices/platform/mxsdhci.2/mmc_host/mmc1
dev_mount udisk /mnt/sdcard/udisk auto /devices/platform/fsl-ehci.1/usb
页: [1]
查看完整版本: android中怎么将nand分区挂载到sdcard中!!!