Re: Network Device Naming mechanism and policy

From: Bill Nottingham
Date: Tue Mar 24 2009 - 14:12:36 EST


Matt Domsch (Matt_Domsch@xxxxxxxx) said:
> > Now consider USB. Would the device name change depending on which USB
> > port you plugged it into? Or is USB just a single slot, in which case
> > what happens when you have two USB ethernet devices?
> >
> > The Apple USB Ethernet device in my iPhone is not the USB Wireless
> > adapter I own, both have very different networking configurations.
>
> we would obviously need a solution. eth_usb_{something} perhaps.

Right, but having biosdevname chase each new bus that comes along
sounds iffy. I'd prefer /dev/net/by-name symlinks, if at all
possible. But that's a lot of code that I'm not prepared to write.

Bill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/