execute shell script on USB hotplug

oneseventeen_at_gmail.com
Date: 10/28/05


Date: 28 Oct 2005 06:59:21 -0700

I would like to execute a shell script when a user plugs in a USB
storage device so I can automate the process of adding and removing
MP3s and other files.

The machine this is running on will be used only for adding and
removing MP3 files from USB storage, and will have a web-based GUI, if
that makes a difference. (This will be a publically accessable kiosk)

I was hoping to find some more details on using the hotplug system
and/or udev in the hardware section. Any ideas?



Relevant Pages

  • Re: How to programmatically locate the storage device?
    ... The hardware will be a USB mass storage device. ... If your want to enumerate all of the disk devices then use ... > the SetupDi API (SetupDiGetClassDevsEx SetupDiEnumDeviceInfo ...
    (microsoft.public.development.device.drivers)
  • Re: WinMobile 5.0 as a Mass Storage USB
    ... using the Mass Storage Device USB client function will *not* work ... Ive downloaded the Softick Card Export II for Pocket PC that can turn off ...
    (microsoft.public.windowsce.embedded)
  • Re: USB Storage Device not functoning
    ... I'm having an almost identical problem with my HandySteno HC202 1 gig USB ... problem lies in the way Windows issues/reserves drive letters. ... I have an Easy Disk 512MB USB Storage Device which works absolutely fine on ...
    (microsoft.public.windowsxp.hardware)
  • Re: Digital Camera USB problems
    ... > Is "Normal" the same as Mass Storage Device? ... I am using the latest kernal, usb basic, and usb msd drivers off the ... Max. packetsize: 40 ... Endpoint 0: ...
    (comp.os.os2.misc)
  • Re: Windows2003 on external disk
    ... Their technology allows Win 2K/XP to ... boot and run from any USB or 1394 storage device. ... hard drives, but also storage devices such as USB key drives. ...
    (microsoft.public.windows.server.setup)