(which is in most cases also the scheme that's the least useful to
admins and users)
...
Yes, these rules by far don't fit everyone's needs. People who often
use hotpluggable NICs are probably served best by MAC address based
naming. Boxes with field replacable but otherwise fixed NICs apparently
rather need a naming scheme based on PCI/PCIe topology. (This requires
that the topology is exposed to userspace in comparable manner across
boots and across kernel version updates.)
So, an administrator should get to choose between different well
documented naming schemes.
Also, like Jan mentioned, confusion can already be minimized by renaming
eth[0-9]+ -> net_[a-z]+ (for example, or nic[0-9]+ like Jan wrote)
rather than eth[0-9]+ -> eth[0-9]+. That way it's clearer at all times
whether the original names or names given by userspace are used.
And there should be a log message when a device was renamed. Better
yet, like Michal wrote: In case of device files for mass storage, there
is no _renaming_. Instead, udev creates _aliases_ (symlinks), and it
does so with a few different naming schemes at once so that admins or
users immediately have a choice:
$ ls /dev/disk/
by-id by-path by-uuid
Any chance that there could be aliases to network interfaces? Aliases
for device files are easy --- they live only in userspace.
--
Stefan Richter
-=====-=-=== =--- --=--
http://arcgraph.de/sr/
-