|
我查看了 cb-A10\android\device\softwinner\apollo-cubieboard 目录下的文件init.rc和init.sun4i.rc,找到了几个mount操作如下:
on fs
#mount ext4 /dev/block/nandd /system wait noatime nodev barrier=0
mount ext4 /dev/block/nandd /system wait ro noatime nodev barrier=0
# try to mount /data
wait /dev/block/nande
mount ext4 /dev/block/nande /data wait noatime nosuid nodev barrier=0
setupfs /dev/block/nande
umount /data
exec /system/bin/logwrapper /system/bin/e2fsck -y /dev/block/nande
exec /system/bin/busybox mount -t ext4 -o noatime,nosuid,nodev,barrier=0,journal_checksum,noauto_da_alloc /dev/block/nande /data
# try to mount /cache
mount ext4 /dev/block/nandh /cache wait noatime nosuid nodev barrier=0
setupfs /dev/block/nandh
umount /cache
exec /system/bin/logwrapper /system/bin/e2fsck -y /dev/block/nandh
exec /system/bin/busybox mount -t ext4 -o noatime,nosuid,nodev,barrier=0,journal_checksum,noauto_da_alloc /dev/block/nandh /cache
format_userdata /dev/block/nandk apollo
# try to mount /private
export PRIVATE_STORAGE /mnt/private
format_userdata /dev/block/nandi PRIVATE
mkdir /mnt/private 0000 system system
mount vfat /dev/block/nandi /mnt/private
以上语句中就是没有/mnt/sdcard 的mount相关操作,不知道/mnt/sdcard是如何mount上的?
|
|