Advertisement
riskey95

vold.fstab

Oct 23rd, 2013
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. ## Vold 2.0 Generic fstab
  2. ## - San Mehat (san@android.com)
  3. ##
  4.  
  5. #######################
  6. ## Regular device mount
  7. ##
  8. ## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
  9. ## label - Label for the volume
  10. ## mount_point - Where the volume will be mounted
  11. ## part - Partition # (1 based), or 'auto' for first usable partition.
  12. ## <sysfs_path> - List of sysfs paths to source devices
  13. ######################
  14.  
  15.  
  16. #######################
  17. ## UMS path
  18. ##
  19. ## ums_path - default UMS path
  20. ## ums_subpath1 - UMS path when external SD card is not inserted
  21. ## ums_subpath2 - UMS path when external SD card is inserted.
  22. ## ums_subpath3 - reserved
  23. ######################
  24.  
  25. # internal sdcard
  26. {
  27. ums_path = /sys/devices/lm-2/gadget/lun0/file
  28. ums_subpath1 = /sys/devices/lm-2/gadget/lun0/file
  29. ums_subpath2 = /sys/devices/lm-2/gadget/lun0/file
  30. asec = disable
  31. discard = disable
  32. }
  33. dev_mount sdcard /mnt/sdcard 11 /devices/platform/bcm_sdhc.2/mmc_host/mmc1
  34.  
  35. # externel sdcard
  36. {
  37. ums_path = /sys/devices/lm-2/gadget/lun1/file
  38. ums_subpath1 = /sys/devices/lm-2/gadget/lun1/file
  39. ums_subpath2 = /sys/devices/lm-2/gadget/lun1/file
  40. asec = enable
  41. }
  42. dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/bcm_sdhc.3/mmc_host/mmc2
  43.  
  44. #dev_mount sdcard /mnt/sdcard auto /devices/platform/bcm_sdhc.3/mmc_host/mmc2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement