Carsten Aulbert wrote:
> Hi Auke,
> 
> Kok, Auke wrote:
>> if you have udev installed and running you can just edit:
>>
>> /etc/udev/rules.d/70-persistent-net.rules
>>
>> to rename the devices persistently. No ugly firmware hacks needed.
> 
> That's too far down the road as the kernel needs to make the inquieries
> already and udev is not installed at that point (we are doing a 'FAI'
> installation and the kernel gets fed something which looks like:
> 
> kernel kernel/vmlinuz-2.6.23.1-faiinstall
> append  root=/dev/nfs
> nfsroot=/srv/fai/nfsroot,v3,tcp,rsize=32768,wsize=32768
> ip=:::::eth0:dhcp FAI_FLAGS=verbose,sshd,createvt,reboot
> FAI_ACTION=install console=tty0
> 
> 
> as you can see there is nfsroot involved which in turn needs dhcp and
> this needs... a correct interface to work with :(
> 
> Any other ideas?

what's in a name? is it really that bad that your device has a name that is
less-than logical? *shrug*

with an initrd you can have udev run from a minimal initrd doing the renaming 
and
mount the filesystem, or just use `ifrename` from said initrd. maybe that works?

if you really have to resolve to reordering the probing, you're solving the 
wrong
problem IMHO, and creating a non-portable solution.

Auke



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel

Reply via email to