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.[div align=\"right\"][a href=\"index.php?act=findpost&pid=102702\"][{POST_SNAPBACK}][/a][/div]
Take a look at Mickeyl's pcmcia-applet for Opie, it allows you to perform actions depending on which card you have inserted.[div align=\"right\"][a href=\"index.php?act=findpost&pid=102710\"][{POST_SNAPBACK}][/a][/div]
Is there a way to determine when a CompactFlash card is mounted? If I can do that I then want to run a script automatically.Any help appreciated.[div align=\"right\"][a href=\"index.php?act=findpost&pid=102694\"][{POST_SNAPBACK}][/a][/div]