linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* add rules for new aoe character devices
@ 2007-11-29 17:11 Ed L. Cashin
  2007-12-03 18:15 ` Kay Sievers
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ed L. Cashin @ 2007-11-29 17:11 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

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 <ecashin@coraid.com>

[-- Attachment #2: udev-117-aoe-newdevs.diff --]
[-- Type: text/x-diff, Size: 2071 bytes --]

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"

[-- Attachment #3: Type: text/plain, Size: 309 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #4: Type: text/plain, Size: 226 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-12-10 20:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 17:11 add rules for new aoe character devices Ed L. Cashin
2007-12-03 18:15 ` Kay Sievers
2007-12-03 18:38 ` Ed L. Cashin
2007-12-03 18:42 ` Kay Sievers
2007-12-03 18:52 ` Matthias Schwarzott
2007-12-10 15:34 ` Ed L. Cashin
2007-12-10 19:21 ` Kay Sievers
2007-12-10 20:07 ` Ed L. Cashin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).