[PATCH android/device/linaro/beagleboard] Add vold.fstab

Alexander Sack asac at linaro.org
Mon Mar 21 22:47:20 UTC 2011


On Mon, Mar 21, 2011 at 7:35 PM, Jeremy Chang <jeremy.chang at linaro.org> wrote:
> +#######################
> +## 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
> +######################
> +
> +dev_mount sdcard /mnt/sdcard 7 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0

from what i understand this hardcodes that our sdcard partition is
partition 7 right?

Remember, that eventually we will move to "by-name" or "by-uuid" not
only because it feels cleaner, but also because the partition offset
for our validation farm install might be different.

Is there a way to also express this here? Otherwise, I would think
that we have to keep the "mount" in the init.rc. Or would we also work
on adding "by-name" here?

-- 

 - Alexander



More information about the linaro-dev mailing list