From: Jeremy Katz Subject: Re: [PATCH] support udev or hotplug based on the system [3/3] Date: Thu, 06 Oct 2005 15:56:39 -0400 Message-ID: <1128628599.12602.30.camel@bree.local.net> References: <1128612422.12602.21.camel@bree.local.net> <1128625804.12602.26.camel@bree.local.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-28ZswK3OLvoDSk8CPwJa" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Grimm Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=-28ZswK3OLvoDSk8CPwJa Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2005-10-06 at 14:53 -0500, Ryan Grimm wrote: > i applied your three patches to the latest changeset b/c i am having > xen_blk timeout issues. i attached my output from make tools, the > interesting part being: Aha, I knew I had attached the third patch to something. I just attached it to the mail which was 2/3. I just replied with the right patch there (I'll include it here too... it's tiny) Jeremy --=-28ZswK3OLvoDSk8CPwJa Content-Disposition: attachment; filename=xen-udev-rules.patch Content-Type: text/x-patch; name=xen-udev-rules.patch; charset=utf-8 Content-Transfer-Encoding: 7bit # HG changeset patch # User katzj@bree.local.net # Node ID d62a9e2969e3bcb9e32b65cbb14f3fafcaf68f00 # Parent b955507c41895ace00ef82f074e9366fd17eae97 add udev rules file which does the same thing as the hotplug agent diff -r b955507c4189 -r d62a9e2969e3 tools/examples/xen-backend.rules --- /dev/null Thu Oct 6 03:30:56 2005 +++ b/tools/examples/xen-backend.rules Thu Oct 6 03:31:41 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}" --=-28ZswK3OLvoDSk8CPwJa Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-28ZswK3OLvoDSk8CPwJa--