How do i detect the insertion/removal of external devices like SDCard, USB drives etc.,
Somebody told to use "udev". I want to do my C program. Please anybody help me.
you could use libhal to get configuration details and events from the hal daemon. see http://hal.freedesktop.org/