From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 05 Feb 2004 17:24:01 +0000 Subject: Re: DM & udev Message-Id: <20040205172401.GG12546@kroah.com> List-Id: References: <40218C4B.4010709@free.fr> In-Reply-To: <40218C4B.4010709@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Feb 05, 2004 at 01:20:27AM +0100, christophe varoqui wrote: > Hello, > > what's the rationale behind the enum-style naming of DM in /sys/block ? > a nasty side effect is that /udev names are not the DM name like devfs > did (/dev/mapper/vg01-vol01), but those dm-0, dm-1, ... > > One might insert yet another rule in udev to translate, but I wondered > if there was a real reason for the dm-* names. > > Either way, I can get rid of the mknod code in the multipath tool, and > let udev react to /sys/blocl/$any-dm-name spawning. Greg if you confirm > that assertion, I'll submit this patch for the next udev release. udev should be able to handle dm-* names just fine as long as there is a 'dev' file in the directory for them (which I'm pretty sure there is...) thanks, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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