Greetings:
I Just flashed to OZ 3.2 and upgraded Opie to 1.0.3, decided to move some stuff over to my SD card with the following script (listed below) before installing any other software, all seemed to go well with the script so I went ahead and installed some applications such as opie-showimg_1.0.3_arm.ipk, and opie-mediaplayer_1.0.3_arm.ipk, that seemed to go well also.
Fired up the applications to try them out and I see doubles of the JPEG\'s and MP3\'s listed even though only a single copy of each file actually exists!
Could somebody please check out this script and see if I am linking somewhere I should not be or not linking somewhere I should be.
Thanks - Jim
-> snip <-
#!/bin/sh
clear
echo \"Executing MovetoSD.sh . . .\"
/bin/umount /dev/mmcda1 > /dev/null 2>&1
/sbin/mke2fs /dev/mmcda1 > /dev/null 2>&1
/bin/mount /dev/mmcda1 /mnt/card > /dev/null 2>&1
cp -a /home /mnt/card/home > /dev/null 2>&1
cp -a /opt /mnt/card/opt > /dev/null 2>&1
cp -a /root /mnt/card/root > /dev/null 2>&1
rm -rf /home /opt /root > /dev/null 2>&1
ln -sf /mnt/card/home /home > /dev/null 2>&1
ln -sf /mnt/card/opt /opt > /dev/null 2>&1
ln -sf /mnt/card/root /root > /dev/null 2>&1
echo \"Script Complete . . .\"
sleep 1.5
clear
/sbin/init 6
exit 0
-> snip <-