id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
199	Mounting sdcard fails in vold.fstab	divx118	BuBu	"'''Mounting the sdcard with vold.fstab fails, because the sysfs path changes according to the sdcard that is used.'''

The mounting line in vold.fstab should be as follows, but XXXX is the thing that changes when another card is used.
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1/mmc1:XXXX/block/mmcblk2

Also it will only mount fat partitions.

Archos patched vold and uses a lun path to mount the partition. The line in vold.fstab is as follows.

dev_mount_lun volume_sdcard /mnt/storage/sdcard auto /devices/platform/usb_mass_storage/lun1 /class/block/mmcblk2

'''We should also decide on where to mount the sdcard.'''[[BR]][[BR]] Normally the internal memory is the main sdcard for android. This is mounted at /mnt/storage. 

In the official firmware it is done like this:

/mnt/storage is the internal memory

/storage -> /mnt/storage 

/sdcard -> /mnt/storage 

/mnt/sdcard -> /mnt/storage 

/mnt/storage/sdcard is the removable sdcard

vold.fstab mounting lines on the archos:


{{{
dev_mount_lun volume_internal /mnt/storage auto /devices/platform/usb_mass_storage/lun0 /class/block/mmcblk1
dev_mount_lun volume_sdcard /mnt/storage/sdcard auto /devices/platform/usb_mass_storage/lun1 /class/block/mmcblk2
dev_mount volume_external /mnt/storage/usb_host auto /class/block/sda
}}}



"	defect	closed	major	Android 2.3 Bull	Android 2.3		fixed	sdcard cyanogenmod mount vold.fstab	akk
