linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can't rename eth1, but udevmonitor says it is
@ 2007-05-12 12:16 sean darcy
  2007-05-13 17:55 ` sean darcy
  2007-05-13 18:04 ` Andrey Borzenkov
  0 siblings, 2 replies; 3+ messages in thread
From: sean darcy @ 2007-05-12 12:16 UTC (permalink / raw)
  To: linux-hotplug

Using udev-095-17.fc6 on fc6, I'm trying to rename eth1, one of two
ethernet cards:

cat 10-network-interface.rules
KERNEL="eth*", SYSFS{address}="00:a0:24:54:28:cb", NAME="lan"

before modprobe:

ls /sys/class/net
eth0  lo  ppp0  sit0

then I modprobe 3c59x, udevmonitor shows:

UEVENT[1178971722.841091] add@/module/3c59x
UEVENT[1178971722.849159] add@/bus/pci/drivers/3c59x
UEVENT[1178971722.884779] add@/class/net/eth1
UDEV  [1178971723.163556] add@/class/net/lan

BUT,

ls /sys/class/net
eth0  eth1  lo  ppp0  sit0

so /class/net/lan is NOT created.

Why is eth1 created? I though the idea of NAME was that it named the
true device node. SYMLINK  was used when you wanted an extra name.

Thanks for any help.

sean

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2007-05-13 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-12 12:16 can't rename eth1, but udevmonitor says it is sean darcy
2007-05-13 17:55 ` sean darcy
2007-05-13 18:04 ` Andrey Borzenkov

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