On Thu, Apr 20, 2006 at 09:23:00PM +0200, Marco d'Itri wrote:

> > This looks like a bug in udev.  It should not try to identify devices
> > based on names a user can and will change.

> I think I missed which alternative design you are proposing.

AFAIK the only correct way to identify a network interface is its index.
That will remain constant even when the name changes, and will be
different even if you remove one module and insert an other one that
happens to claim the same in-kernel name.

Since there is a 1-1 connection between the interface index and the
in-kernel data structure, it is the ideal (and only) identifier udev
should use.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to