linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* possible udev problem with mtd[0-9]ro
@ 2005-10-28  6:01 Aras Vaichas
  0 siblings, 0 replies; only message in thread
From: Aras Vaichas @ 2005-10-28  6:01 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-28  6:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28  6:01 possible udev problem with mtd[0-9]ro Aras Vaichas

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