On Sat, 2008-04-19 at 18:33 -0700, David Miller wrote:There was talk of adding it for libertas and ps3_gelic too, since they also provide devices with the same MAC address. Well, kind of. The kernel doesn't need to provide a single, globally unique device identifier and hand it to udev on a plate. The kernel just needs to provide a sufficient _set_ of attributes such that udev can tell the difference between devices. On an S390 system, that set of attributes should probably include dev_id, which would let us remove the special-case hack in udev's persistent naming script. We _could_ also use dev_id for libertas and ps3_gelic, but in fact udev is almost capable of using another criterion for matching -- the basename of the interface (eth%d vs. msh%0 or wlan%d) -- which is already sufficient to distinguish between those particular logical devices. We just need to fix udev to use it _consistently_ rather than spuriously dropping it from the generated rule in certain cases. But if that gets fixed in udev and addresses my original issues (libertas, ps3), that still doesn't mean that dev_id shouldn't be exposed and used as _one_ of udev's criteria for matching devices. Certainly, it's possible that we'll need _more_ criteria for udev to match on; that doesn't necessarily mean that dev_id shouldn't be one of them, does it? -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Justin Piszcz | Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195... |
| Vu Pham | Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel |
| David P. Quigley | [RFC v3] Security Label Support for NFSv4 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| YOSHIFUJI Hideaki / | [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit kernels. |
| Pavel Emelyanov | [PATCH][CAN]: Fix copy_from_user() results interpretation. |
| Krzysztof Halasa | Re: [PATCH v2] Re: WAN: new PPP code for generic HDLC |
| Roel Kluin | [PATCH 1] net: fix and typo's |
git: | |
| Peter Stahlir | Git as a filesystem |
| Miklos Vajna | [rfc] git submodules howto |
| Dan Zwell | $GIT_DIR usage |
| Wink Saville | Resolving conflicts |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Xavier Mertens | newfs: cg 0: bad magic number |
| Laurent CARON | IPSEC VPN between OpenBSD and Linux (OpenSwan) |
| Didier Wiroth | win32-codecs, avi and amd64 question |
| Netfilter kernel module | 8 hours ago | Linux kernel |
| serial driver xmit problem | 11 hours ago | Linux kernel |
| Why Windows is better than Linux | 11 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 18 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 1 day ago | Linux general |
| Compiling gfs2 on kernel 2.6.27 | 2 days ago | Linux kernel |
