• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/asus/eeepc


Commit MetaInfo

Révisionbc0c6f6f1d5566bd3858c50e2f232f9a690edcf7 (tree)
l'heure2009-07-21 10:47:03
AuteurYi Sun <beyounn@gmai...>
CommiterChih-Wei Huang

Message de Log

swatch to use mountd to support sdcard automount

Change Summary

Modification

--- a/AndroidBoard.mk
+++ b/AndroidBoard.mk
@@ -29,4 +29,5 @@ $(INSTALLED_RAMDISK_TARGET): $(file)
2929 $(eval $(call add-prebuilt-target,$(TARGET_ROOT_OUT),init.eeepc.rc))
3030 $(INSTALLED_RAMDISK_TARGET): $(file)
3131 $(eval $(call add-prebuilt-target,$(TARGET_OUT)/etc,init.eeepc.sh))
32+$(eval $(call add-prebuilt-target,$(TARGET_OUT)/etc,mountd.conf))
3233 $(eval $(call add-prebuilt-target,$(TARGET_OUT_KEYLAYOUT),AT_Translated_Set_2_keyboard.kl))
--- a/init.rc
+++ b/init.rc
@@ -190,8 +190,8 @@ service servicemanager /system/bin/servicemanager
190190 onrestart restart zygote
191191 onrestart restart media
192192
193-service vold /system/bin/vold
194- socket vold stream 0660 root mount
193+service mountd /system/bin/mountd
194+ socket mountd stream 0660 root mount
195195
196196 service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
197197 socket zygote stream 666
--- /dev/null
+++ b/mountd.conf
@@ -0,0 +1,19 @@
1+## mountd configuration file
2+
3+## add a mount entry for each mount point to be managed by mountd
4+mount {
5+ ## root block device with partition map or raw FAT file system
6+ block_device /dev/SDCARD
7+
8+ ## mount point for block device
9+ mount_point /sdcard
10+
11+ ## true if this mount point can be shared via USB mass storage
12+ #enable_ums true
13+
14+ ## path to the UMS driver file for specifying the block device path
15+ ## use this for the mass_storage function driver
16+ #driver_store_path /sys/devices/platform/usb_mass_storage/lun0/file
17+ ## use this for android_usb composite gadget driver
18+ ##driver_store_path /sys/devices/platform/msm_hsusb/gadget/lun0/file
19+}