USB devices on Linux

I have a somewhat interesting problem trying to identify USB removable disk drives as they are attached to our system. My application program needs to recognize that at new drive has been attached to a USB port, “on the fly”. Any ideas? Thanks.

I’m pretty sure this is what you want. I hope you aren’t running an ancient kernel. (2.4-series and after is fine, but 2.2 and before is iffy.)

Well, that’s a good start. I need to be able to “poll” something or periodically “read” something from my program that tells me a new disk (and it’s mount path) is on the USB.

:smack: If I would only follow the links …