Future udev rules

Alexander E. Patrakov patrakov at ums.usu.ru
Fri Sep 8 21:56:29 PDT 2006


I wrote:
> If we decide to go with stock generator rules, something has to be 
> done with multiple network interfaces, because it is not known which 
> of them will get eth0 on the first boot (but the name will be the same 
> on all subsequent reboots).

Official solution:

/lib/udev/write_net_rules all_interfaces

then look at the generated rules for MAC addresses, look at MAC 
addresses in sysfs, and write ifconfig.eth0, ifconfig.eth1, ... files.

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list