Thread (105 messages) 105 messages, 21 authors, 2009-11-11

RE: [PATCH] udev: create empty regular files to represent netinterfaces

From: <hidden>
Date: 2009-10-30 16:53:57

quoted
quoted
There are two issues, which really seem distinct to me.

Users expect eth0 to map to first-onboard-nic. That's an installer 
issue (since the BIOS can already export this info) and I 
agree that 
quoted
quoted
if we want to "fix" that, we should fix it there.
I agree that installers have to be fixed in the sense that 
they can be 
quoted
told to find the right interface. But, they expect determinism and 
depend on "eth0 to map to first-onboard-nic". Installer is 
one of the 
quoted
applications that is affected by this and needs user 
intervention, if 
quoted
it is not told about the right interface. I discussed 
installer as it 
quoted
is so much part of a user experience.
Right, but couldn't the installer do the work of scanning the 
SMBIOS to figure out which nics are onboard, and reorder the 
'eth*' names such that these are first? This state could then 
be written out as udev rules so that they persist across reboots.
I suppose, with udev loading modules, the rules generated at runtime
could run into the problem of duplicate names, if names are reordered in
the kernel namespace. (I.e the eth* namespace). Hence idea of an
alternate namespace.

With regards,
Narendra K
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help