San Mehat | 5184fc5 | 2009-12-17 07:13:16 -0800 | [diff] [blame] | 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 | ## Example of a standard sdcard mount for the emulator / Dream |
| 16 | # Mounts the first usable partition of the specified device |
San Mehat | 6f957c3 | 2010-02-19 18:34:30 -0800 | [diff] [blame] | 17 | dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 |
San Mehat | 5184fc5 | 2009-12-17 07:13:16 -0800 | [diff] [blame] | 18 | |
| 19 | ## Example of a dual card setup |
| 20 | # dev_mount left_sdcard /sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 |
| 21 | # dev_mount right_sdcard /sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1 |
| 22 | |
| 23 | ## Example of specifying a specific partition for mounts |
| 24 | # dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 |