From: Aras Vaichas <arasv@magellan-technology.com>
To: linux-hotplug@vger.kernel.org
Subject: possible udev problem with mtd[0-9]ro
Date: Fri, 28 Oct 2005 06:01:35 +0000 [thread overview]
Message-ID: <4361BEBF.3080300@magellan-technology.com> (raw)
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
reply other threads:[~2005-10-28 6:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4361BEBF.3080300@magellan-technology.com \
--to=arasv@magellan-technology.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).