SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ## Vold 2.0 Generic fstab | |
| 6 | ## - San Mehat ([email protected]) | |
| 7 | ||
| 8 | ## | |
| 9 | ||
| 10 | ####################### | |
| 11 | ## Regular device mount | |
| 12 | ## | |
| 13 | ## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> | |
| 14 | ||
| 15 | ## label - Label for the volume | |
| 16 | ## mount_point - Where the volume will be mounted | |
| 17 | ||
| 18 | ## part - Partition # (1 based), or 'auto' for first usable partition. | |
| 19 | ||
| 20 | ## <sysfs_path> - List of sysfs paths to source devices | |
| 21 | ||
| 22 | ###################### | |
| 23 | ||
| 24 | ## Example of a standard sdcard mount for the emulator / Dream | |
| 25 | # Mounts the first usable partition of the specified device | |
| 26 | dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host | |
| 27 | - | dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host |
| 27 | + | |
| 28 | - | dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host |
| 28 | + | |
| 29 | # dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2 | |
| 30 | ||
| 31 | ||
| 32 | ## Example of specifying a specific partition for mounts | |
| 33 | # dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 |