How do I detect SD card insertion (just the SD card, not the card reader) in Linux?
Solution 1:
Here's how I've solved this problem:
- Install the udisks package
- Run udisks --poll-for-media
Via a udev rule I then trigger a script that takes care of downloading the data from my CF card automatically.