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
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| Greg Kroah-Hartman | [PATCH 022/196] adb: Convert from class_device to device |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Mark Levedahl | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Matthieu Moy | git push to a non-bare repository |
| Jon Smirl | Re: Calculating tree nodes |
| Marco Peereboom | Re: Real men don't attack straw men |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Tony Abernethy | Re: What is our ultimate goal?? |
| Felix Radensky | RE: e1000e "Detected Tx Unit Hang" |
| Jeff Garzik | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Andy Grover | [PATCH] RDS: Add AF and PF defines for RDS sockets |
| David Miller | Re: [PATCH] inet6: Fix paramater issue of inet6_csk_xmit |
