linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev, net device alias
@ 2012-05-22 10:08 Michal Filka
  2012-05-22 10:14 ` Hannes Reinecke
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Filka @ 2012-05-22 10:08 UTC (permalink / raw)
  To: linux-hotplug

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.

Thanks for info
Michal Filka

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: udev, net device alias
  2012-05-22 10:08 udev, net device alias Michal Filka
@ 2012-05-22 10:14 ` Hannes Reinecke
  0 siblings, 0 replies; 2+ messages in thread
From: Hannes Reinecke @ 2012-05-22 10:14 UTC (permalink / raw)
  To: linux-hotplug

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
hare@suse.de			      +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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-22 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 10:08 udev, net device alias Michal Filka
2012-05-22 10:14 ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).