-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Marco d'Itri wrote: > I have no good idea about how to solve the second one since the > system already has a running udev process which I cannot mess with. > > What do other distributions do? In LFS (not that we're a distro, but whatever), after floundering around for several months and almost ten udev versions, we finally settled on using udevadm test. (At least for the moment.) Works with kernels >= 2.6.8 if you don't care about the comments, or >= 2.6.18 if you do want the comments (at least according to the testing we did). It should work until udevadm test stops running programs specified in IMPORT{program} keys. ;-) See e.g. the first part of http://www.linuxfromscratch.org/lfs/view/development/chapter07/network.html - -- that gets run from inside a chroot, after the new udev is installed. (I'll be the first to admit that it's an abuse of udevadm -- but it works for now, and unless we can expand IFNAMSIZ and then add the ability to create by-mac or by-path or whatever symlinks to NICs -- then you wouldn't need to generate anything -- it's the easiest we could come up with. Automatic "symlinks" (multiple names for the same interface) would work great, but they'd have to be long enough to express the MAC address or physical device path in the name, and IFNAMSIZ isn't nearly long enough.) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIjowdS5vET1Wea5wRA1kuAJ4qXDsJnMPVY3sqof1KrIiANsgYRACeKMlW i0ECFhucpfu+xmFo5h3p4ig= =YYPc -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html