[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Add udev rules that map similar to the hotplug agent. Based off of what
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 99532f6b2ae37ed5bf103e07b1e2bf7c29e5ce1d # Parent 1b0dbfedc0432e643f61ec6bcb93ddaf50ee0caf Add udev rules that map similar to the hotplug agent. Based off of what Chris Bainbridge posted the end of last week but doing things as directly as possible. Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx> diff -r 1b0dbfedc043 -r 99532f6b2ae3 tools/examples/xen-backend.rules --- /dev/null Fri Oct 7 12:13:58 2005 +++ b/tools/examples/xen-backend.rules Fri Oct 7 12:15:52 2005 @@ -0,0 +1,4 @@ +SUBSYSTEM=="xen-backend", KERNEL=="vbd*", ACTION=="add", RUN+="/etc/xen/scripts/block bind" +SUBSYSTEM=="xen-backend", KERNEL=="vbd*", ACTION=="remove", RUN+="/etc/xen/scripts/block unbind" +SUBSYSTEM=="xen-backend", KERNEL=="vif*", ENV{PHYSDEVDRIVER}=="vif", ACTION=="online", RUN+="$env{script} up" +SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/usr/bin/xenstore-rm $env{XENBUS_PATH}" _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |