Re: udev, net device alias

Hannes Reinecke <[email protected]>
Newsgroups gmane.linux.hotplug.devel
Message-ID <[email protected]>
On 05/22/2012 12:08 PM, Michal Filka wrote:
> Hi,
> 
> is it possible to create an alias for an ethernet device using udev
> rules? E.g. to have eth0 accessible even as "eth0" and "eth-alias"
> at the same time.
> 
Here holds the Highlander-Mantra:

There can only be one.

Network devices do not have symlinks, but rather live in the kernel
namespace. And the name is the primary key for finding this device.
To have network device aliases you would need to implement an
additional infrastructure within the kernel.

And get that past Dave Miller :-)

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.