QUOTE(Cagilaba @ Nov 7 2005, 02:57 PM)
I'm not sure what you want to do with the script, but if you simply want to find out whether a CF is mounted, you can do "df -h" and look for /dev/hda1 which will be mounted at /mnt/cf or /usr/mnt.rom/cf. SD is /dev/mmcda1 at /mnt/card.
I want to avoid the need to keep checking. I was hoping to be able to run a script automatically whenever a CF card is mounted.
I want the script simply to run VisualQ if the card is a camera card. I can easily determine that because it will have a /dcim/100olymp directory on it.