Albert's mmc.sh:
#!/bin/sh
while true ; do
if [ -x /dev/mmc/disc0 ]; then
break
fi
echo "Re-loading the kernel module"
rmmod mmc
modprobe mmc
done
while true ; do
if [ -e /dev/mmc/disc0/part1 ] ; then
# if [ -e /dev/mmc/disc0/disc ] ; then
break
fi
./blkpart
done
mount /mnt/card