From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aras Vaichas Date: Fri, 28 Oct 2005 06:01:35 +0000 Subject: possible udev problem with mtd[0-9]ro Message-Id: <4361BEBF.3080300@magellan-technology.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I'm customising some of my udev rules and I'm not sure how to handle the readonly MTD character class device, mtd[0-9]ro The kernel names are: mtd1ro, mtd2ro, etc and I want to create a rule to create devices as such: kernel name: Device: mtd1ro -> /dev/mtd/1ro mtd2ro -> /dev/mtd/2ro etc ... The problem is that there is no kernel number passed to the udev rules. e.g. for kernel name = "mtd1ro" %k = "mtd1ro" but %n = "" Can someone help me with this rule? regards, Aras Vaichas ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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