On Mon, 2008-04-14 at 14:52 +0200, Kay Sievers wrote:Ah, yes -- that's an improvement on the version in udev-120, which would only write it if $INTERFACE_NAME wasn't set _AND_ the current interface name is already reserved by an existing rule. It's for compatibility with older configuration. Before udev, the Fedora network configuration used to allow you to set a MAC address for each configured interface, and would rename interfaces accordingly. This preserves that functionality, automatically converting it to udev rules. If we were to include the KERNEL== criterion even when $INTERFACE_NAME is set, that would solve the problem for now. That would be good. :) I think so, yes. The only problem I can foresee is if you write rules with a new kernel (with the patch I just posted), and then boot into an older kernel. Since the dev_id attribute will no longer exist, your rule won't match... and you'll get a new rule without the dev_id. I'm not sure how much we care about that case -- perhaps the latter rule should have a 'TEST!="dev_id"' criterion? And/or maybe when we generate rules where dev_id==0x0, we should make it a special case which accepts either 0x0, or no dev_id attribute at all? -- 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
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
| Filippos Papadopoulos | Re: INITIO scsi driver fails to work properly |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| Natalie Protasevich | [BUG] New Kernel Bugs |
