linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ed L. Cashin" <ecashin@coraid.com>
To: linux-hotplug@vger.kernel.org
Subject: add rules for new aoe character devices
Date: Thu, 29 Nov 2007 17:11:00 +0000	[thread overview]
Message-ID: <20071129171100.GF11161@coraid.com> (raw)

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

             reply	other threads:[~2007-11-29 17:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 17:11 Ed L. Cashin [this message]
2007-12-03 18:15 ` add rules for new aoe character devices 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071129171100.GF11161@coraid.com \
    --to=ecashin@coraid.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).