Hi,
I have a gumstix running linux version below.
# uname -r
2.6.11gumIt has a MMC slot which I use for collecting log files. My requirements is that if the MMC card is mounted, my application would archive log files to the MMC card. If the card is not mounted (user not inserted), the my application would not archive log files, so as to not write to the internal flash.
My question is: how can I programmatically detect whether or not a MMC card is mounted?
Thanks for any help.
P