# ::copy::
# ::maintainer::
#
# autodetect insertion/remove of removable drives and matches against /etc/fstab entries
# uses the encoded version of volume label (spaces -> 0x20) for match
#
KERNEL=="[sh]d[a-z][0-9]", DEVPATH=="*usb*", ACTION=="add", RUN+="/usr/sbin/ku-handle-removable-disk %k"
KERNEL=="[sh]d[a-z][0-9]", DEVPATH=="*usb*", ACTION=="remove", RUN+="/usr/sbin/ku-handle-removable-disk %k"
