chiark / gitweb /
udev/net_id: Introduce predictable network names for Linux on System z
authorHendrik Brueckner <brueckner@redhat.com>
Thu, 9 Jan 2014 10:28:12 +0000 (11:28 +0100)
committerTom Gundersen <teg@jklm.no>
Sat, 11 Jan 2014 15:03:25 +0000 (15:03 +0000)
commite0d4a0ac06afb856c9370c5c256f0f7bb7efdc8e
treeb8ee24521c54db87be00819a24c01021dd85deba
parent2a61aaac6607d998e981481c34ae06e3e3ace4fe
udev/net_id: Introduce predictable network names for Linux on System z

Use the bus-ID to create predicatable devices names for network interfaces
on Linux on System z instances.  The bus-ID identifies a device in the s390
channel subsystem.

Network interfaces of device type Ethernet are named as:
    enccw0.0.1234    (13 characters)
up to
    enccwff.7.ffff   (14 characters)

CTC network devices of device type SLIP, use a different prefix as follows:
    slccw0.0.1234    (13 characters)

See also Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=870859
[tomegun: typical problem of netdevs switching names between reboots.]
src/udev/udev-builtin-net_id.c