From: Ewan Mellor Subject: Re: [PATCH] Add /dev/xen/evtchn naming to udev rules Date: Wed, 23 Aug 2006 22:13:11 +0100 Message-ID: <20060823211311.GA9362@leeni.uk.xensource.com> References: <1156196507.5643.5.camel@aglarond.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1156196507.5643.5.camel@aglarond.local> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Katz Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, Aug 21, 2006 at 05:41:47PM -0400, Jeremy Katz wrote: > The various tools expect the device node to be /dev/xen/evtchn -- this > makes it so that udev actually creates the device there > > Signed-off-by: Jeremy Katz > > Jeremy > diff -r ec03b24a2d83 tools/examples/xen-backend.rules > --- a/tools/examples/xen-backend.rules Tue Aug 15 19:53:55 2006 +0100 > +++ b/tools/examples/xen-backend.rules Mon Aug 21 17:37:43 2006 -0400 > @@ -4,3 +4,4 @@ SUBSYSTEM=="xen-backend", KERNEL=="vif*" > SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="online", RUN+="$env{script} online" > SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="offline", RUN+="$env{script} offline" > SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/etc/xen/scripts/xen-hotplug-cleanup" > +KERNEL=="evtchn", NAME="xen/%k" Applied, thanks Jeremy. Ewan.