I have a UDEV rule like the following, which renames a PCI ethernet device:
     SUBSYSTEM=="net", ACTION=="add", ID=="*:01:00.0", KERNEL=="eth*",PROGRAM="/usr/bin/eth_port_mapper $id", NAME="%c{1}"
        How can i do the same using mdev?.
1> To match PCI id of a device?.
2>  To rename a device based on the return value of a script?.
        I couldn't get much information seeing the mdev documentation. Is it possible to achieve my requirement with mdev ?.
       Thanks for your help in advance..

On Mon, Jan 30, 2012 at 3:56 PM, <gumstix-users-request@lists.sourceforge.net> wrote:
Welcome to the gumstix-users@lists.sourceforge.net mailing list!

To post to this list, send your email to:


General information about the mailing list is at:


If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:


You can also make such adjustments via email by sending a message to:


with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe.  It is:


Normally, Mailman will remind you of your lists.sourceforge.net
mailing list passwords once every month, although you can disable this
if you prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.