Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated kernel device names for newer kernels on Amazon EC2

  • Loading branch information...
commit 8a7a1ba00cd38ba2b4437260a3fb7548b23c210f 1 parent 511fd23
@alonswartz alonswartz authored
View
4 85-ebsmount.rules.in
@@ -1,8 +1,8 @@
# udev rules to trigger ebsmount-udev on ebs attach|detach
# Amazon EC2
-KERNEL=="sd[f-p]", SUBSYSTEM=="block", ATTRS{devtype}=="vbd", ACTION=="add", RUN+="@PATH_BIN@/ebsmount-udev add"
-KERNEL=="sd[f-p]", SUBSYSTEM=="block", ACTION=="remove", RUN+="@PATH_BIN@/ebsmount-udev remove"
+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"
View
2  cmd_manual.py
@@ -18,7 +18,7 @@
Arguments:
- device EBS device to mount (e.g., /dev/sdf, /dev/vda)
+ device EBS device to mount (e.g., /dev/xvdf, /dev/vda)
Options:
View
2  cmd_udev.py
@@ -22,7 +22,7 @@
Environment variables (Amazon EC2):
- DEVNAME (required: e.g., /dev/sdf)
+ DEVNAME (required: e.g., /dev/xvdf)
PHYSDEVPATH (required: e.g., /devices/xen/vbd-2160)
Environment variables (Eucalyptus):
View
2  ebsmount.conf
@@ -7,4 +7,4 @@ MOUNTOPTIONS=noatime
FILESYSTEMS=ext2 ext3 ext4
LOGFILE=/var/log/ebsmount.log
-DEVPATHS=^/devices/xen/vbd- ^/devices/virtio-pci/virtio ^/devices/pci(.*)/virtio
+DEVPATHS=^/devices/vbd- ^/devices/virtio-pci/virtio ^/devices/pci(.*)/virtio
Please sign in to comment.
Something went wrong with that request. Please try again.