I actually tried this last summer on linux and I think in order to make it work right I had to use the hotplug features AND udev. I had to use udev because I needed a specific mount path, otherwise it just picked the next in the list if there was more than one drive.
I ended up skipping that project because it was a pain and I just didnt have enough time. Allthough, I could write to usb drives. Look into hotplug and udev, hopefully that gets you going. On Wed, 02 Mar 2005 14:56:05 +0100, Roland Heiber <[EMAIL PROTECTED]> wrote: > Hi, > > when you're under linux and a 2.6er kernel, take a look at hotplug, you > can configure it the way that your script gets executed whenever a > specific device is plugged in/out ... > > HtH, Roland > > [EMAIL PROTECTED] wrote: > > when a new usb disk is plugged into the usb socket, the program will > > copy a file to the usb disk, then disabled the usb disk to be pulled > > out safely. > > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list