Skip to content

Instantly share code, notes, and snippets.

@SyncHack
Created March 2, 2012 10:54
Show Gist options
  • Save SyncHack/1957699 to your computer and use it in GitHub Desktop.
Save SyncHack/1957699 to your computer and use it in GitHub Desktop.
vold.fstab (REGZA Tablet AT300, Android 3.1)
## Vold 2.0 fstab for tostab03
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount storage /storage 8 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
dev_mount sdcard /storage/sdcard-disk0 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount usb0 /storage/usb0-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sda
dev_mount usb1 /storage/usb1-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sdb
dev_mount usb2 /storage/usb2-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sdc
dev_mount usb3 /storage/usb3-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sdd
dev_mount usb4 /storage/usb4-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sde
dev_mount usb5 /storage/usb5-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sdf
dev_mount usb6 /storage/usb6-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sdg
dev_mount usb7 /storage/usb7-disk%d all /devices/platform/tegra-ehci.*/usb.*/block/sdh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment