david@lang.hm wrote:(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/ -
| Martin Michlmayr | Network slowdown due to CFS |
| Ingo Molnar | Re: containers (was Re: -mm merge plans for 2.6.23) |
| Ingo Molnar | Re: x86 arch updates also broke s390 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH iproute2 v2] Re: HTB accuracy for high speed |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
