Ticket #3023: 71-removable-media-2.rules

File 71-removable-media-2.rules, 168 bytes (added by Robert L. Inglis, 14 years ago)

Another refinement

Line 
1KERNEL=="sd[a-z]1", SUBSYSTEMS=="usb", SYMLINK:="usb%k"
2ACTION=="add",RUN+="/usr/bin/pmount -w -u 000 /dev/usb%k"
3ACTION=="remove",RUN+="/usr/bin/pumount /media/usb%k"