Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 498 Bytes
# udev rules to trigger ebsmount-udev on ebs attach|detach
# Amazon EC2
KERNEL=="xvd[f-p]", SUBSYSTEM=="block", ATTRS{devtype}=="vbd", ACTION=="add", RUN+="@PATH_BIN@/ebsmount-udev add"
KERNEL=="xvd[f-p]", SUBSYSTEM=="block", ACTION=="remove", RUN+="@PATH_BIN@/ebsmount-udev remove"
# Eucalyptus / OpenStack
KERNEL=="vd[a-z]*", SUBSYSTEM=="block", ACTION=="add", RUN+="@PATH_BIN@/ebsmount-udev add"
KERNEL=="vd[a-z]*", SUBSYSTEM=="block", ACTION=="remove", RUN+="@PATH_BIN@/ebsmount-udev remove"