usb hotplug and hooking

From: Oguz Yarimtepe
Date: Mon Mar 02 2009 - 08:39:52 EST


Hi,

I want to run an application when an external usb flash disk is plugged to
my box machine that has STLinux installed in it. My aim is to check some
issues on usb disk, whether it has an official software or not. I am not
sure how will i hook my own application that will check usb device
when it is plugged. I don't want the application run at the
background, but run only when a plug is occured.

Will be happy if you guide a little.

Thanx.

--
Oğuz Yarımtepe
www.loopbacking.info
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/