On Wed, 2009-12-09 at 06:54 +0300, Andrey Borzenkov wrote: > Is it possible to distinguish between automatic system enumeration when > new device is created and explicit name that user gives? Because in > example above (iw phy add interface) user already supplied specific > name; there is no reason for udev to (try to) mangle it. > > So far the only possibility seems to check for wild card in interface > name. So what about adding new event attribute NAME_AUTOGENERATED=(yes| > no) and simply leaving any event with NAME_AUTOGENERATED=no alone in > udev? Any immediate problems? This is non-trivial because it really goes through the same code paths internally. Feel free to send patches. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part