From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ed L. Cashin" Date: Thu, 29 Nov 2007 17:11:00 +0000 Subject: add rules for new aoe character devices Message-Id: <20071129171100.GF11161@coraid.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="3uo+9/B/ebqu+fSQ" List-Id: To: linux-hotplug@vger.kernel.org --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The patch below adds support for new aoe driver character "flush" and "revalidate" devices to the existing aoe rules in udev-117. The current aoe driver version in the Linux kernel does not include the "flush" feature, but I have already submitted patches to the LKML adding that support and am now working on updating those patches for resubmission. Those using the aoe driver on the Coraid website already have the "flush" feature. -- Support - http://www.coraid.com/support/howto.html Ed L Cashin --3uo+9/B/ebqu+fSQ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="udev-117-aoe-newdevs.diff" diff -upr udev-117.orig/etc/udev/debian/devfs.rules udev-117/etc/udev/debian/devfs.rules --- udev-117.orig/etc/udev/debian/devfs.rules 2007-11-13 14:47:34.000000000 -0500 +++ udev-117/etc/udev/debian/devfs.rules 2007-11-29 11:51:06.000000000 -0500 @@ -148,6 +148,7 @@ SUBSYSTEM=="aoe", KERNEL=="discover", NA SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k" SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k" SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k" +SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k" # device mapper creates its own device nodes, so ignore these KERNEL=="device-mapper", NAME="mapper/control" diff -upr udev-117.orig/etc/udev/debian/udev.rules udev-117/etc/udev/debian/udev.rules --- udev-117.orig/etc/udev/debian/udev.rules 2007-11-13 14:47:34.000000000 -0500 +++ udev-117/etc/udev/debian/udev.rules 2007-11-29 11:48:57.000000000 -0500 @@ -97,6 +97,7 @@ SUBSYSTEM=="aoe", KERNEL=="discover", NA SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k" SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k" SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k" +SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k" # device mapper creates its own device nodes, so ignore these KERNEL=="device-mapper", NAME="mapper/control" diff -upr udev-117.orig/etc/udev/slackware/udev.rules udev-117/etc/udev/slackware/udev.rules --- udev-117.orig/etc/udev/slackware/udev.rules 2007-11-13 14:47:34.000000000 -0500 +++ udev-117/etc/udev/slackware/udev.rules 2007-11-29 11:54:21.000000000 -0500 @@ -148,6 +148,8 @@ KERNEL=="md[0-9]*", NAME="md/%n", SYMLIN SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220" SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440" SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220" +SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220" +SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220" # netlink devices KERNEL=="route", NAME="netlink/%k" --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel --3uo+9/B/ebqu+fSQ--