From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 03 Dec 2007 18:42:58 +0000 Subject: Re: add rules for new aoe character devices Message-Id: <1196707378.6044.17.camel@lov.site> List-Id: References: <20071129171100.GF11161@coraid.com> In-Reply-To: <20071129171100.GF11161@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 2007-12-03 at 13:38 -0500, Ed L. Cashin wrote: > On Mon, Dec 03, 2007 at 07:15:03PM +0100, Kay Sievers wrote: > > On Nov 29, 2007 6:11 PM, Ed L. Cashin wrote: > > > 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. > > > > The distro rules are just a copy from the distro packages and changes made > > here will not get into the packages. We can add the rules only to the "default" > > rules. > > Ah. Thank you. > > > Does this rule work for you? It should move all nodes into a subdir: > > SUBSYSTEM="aoe", NAME="etherd/%k" > > Yes, that's good for the block devices. In the past it seems that > rule doesn't guarantee the creation of the character device nodes, > though, and that is why there is a separate rule for each character > node in the patch I sent. I haven't checked yet whether the latest > udev and kernel still behave the same way. Block devices always have SUBSYSTEM="block", this will only handle the char devices. You want the block devices to be in a subdir? Kay ------------------------------------------------------------------------- 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 _______________________________________________ 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