[lug] Automated USB Drive Backup

karl horlen horlenkarl at yahoo.com
Tue Nov 6 00:13:24 MST 2007


--- "David L. Anselmi" <anselmi at anselmi.us> wrote:

> karl horlen wrote:
> [...]
> > Would you care to share the detection part of that
> > script if you still have it?  Obviously I would
> need
> > to somehow modify it to look for a drive and not a
> > music player.
> 
> In a udev rules file:
> 
> ACTION=="add", \
> SUBSYSTEM=="usb", \
> <other qualifiers to match your drive, like SYSFS
> attributes>, \
> PROGRAM="do_cool_stuff"

Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the LUG mailing list