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

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

Improved functionality and excludes the possiblity of mounting your SCSI HDDs

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