jaylimo84 wrote:
[...]
> Now, in my code, I can simply mount and if failed rmmod/insmod to
> reset the module, but when it segfaults it crashes the whole deal.
> Now, is there a software way to check if the card is present or not?
> If so, how?
I think you might be able to use this program to do what you want:
ftp://ftp.embeddedARM.com/ts-arm-sbc/ts-7200-linux/binaries/ts-utils/sdctl
> If not, how can I prevent the segfaults from a user just "pulling the
> card"?
> -Jay
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16610 East Laser Drive #10
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|