Udev

From Linuxintro
Revision as of 20:24, 2 May 2009 by imported>ThorstenStaerk (New page: udev allows you e.g. to rename network cards like this: /etc/udev/rules.d/30-net_persistent_names.rules SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/li...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

udev allows you e.g. to rename network cards like this:

/etc/udev/rules.d/30-net_persistent_names.rules

SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/lib/udev/rename_netiface %k eth0"
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:f2:78:bc", IMPORT="/lib/udev/rename_netiface %k eth0"