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 Iagree thatquoted
quoted
if we want to "fix" that, we should fix it there.I agree that installers have to be fixed in the sense thatthey can bequoted
told to find the right interface. But, they expect determinism and depend on "eth0 to map to first-onboard-nic". Installer isone of thequoted
applications that is affected by this and needs userintervention, ifquoted
it is not told about the right interface. I discussedinstaller as itquoted
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