device/asus/eeepc
Révision | bc0c6f6f1d5566bd3858c50e2f232f9a690edcf7 (tree) |
---|---|
l'heure | 2009-07-21 10:47:03 |
Auteur | Yi Sun <beyounn@gmai...> |
Commiter | Chih-Wei Huang |
swatch to use mountd to support sdcard automount
@@ -29,4 +29,5 @@ $(INSTALLED_RAMDISK_TARGET): $(file) | ||
29 | 29 | $(eval $(call add-prebuilt-target,$(TARGET_ROOT_OUT),init.eeepc.rc)) |
30 | 30 | $(INSTALLED_RAMDISK_TARGET): $(file) |
31 | 31 | $(eval $(call add-prebuilt-target,$(TARGET_OUT)/etc,init.eeepc.sh)) |
32 | +$(eval $(call add-prebuilt-target,$(TARGET_OUT)/etc,mountd.conf)) | |
32 | 33 | $(eval $(call add-prebuilt-target,$(TARGET_OUT_KEYLAYOUT),AT_Translated_Set_2_keyboard.kl)) |
@@ -190,8 +190,8 @@ service servicemanager /system/bin/servicemanager | ||
190 | 190 | onrestart restart zygote |
191 | 191 | onrestart restart media |
192 | 192 | |
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 | |
195 | 195 | |
196 | 196 | service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server |
197 | 197 | socket zygote stream 666 |
@@ -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 | +} |