0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.15.225.164


Current Path : /proc/thread-self/root/lib/udev/rules.d/
Upload File :
Current File : //proc/thread-self/root/lib/udev/rules.d/73-special-net-names.rules

# On Dell PowerEdge systems, the iDRAC7 and later support a USB Virtual NIC
#   which terminates in the iDRAC. Help identify this with 'idrac'
ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", ATTRS{idVendor}=="413c", ATTRS{idProduct}=="a102", NAME="idrac"

# On IBM systems the Integrated Management Module is reachable using a
# # USB Virtual NIC.
ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", \
   ATTRS{idVendor}=="04b3", ATTRS{idProduct}=="0325", NAME="ibmimm"

# ibmveth devices' $DEVPATH number is tied to (virtual) hardware (slot id
# selected in the HMC), thus this provides a reliable naming (e. g.
# "/devices/vio/30000002/net/eth1"); we ignore the bus number, as
# there should only ever be one bus, and then remove leading zeros
ACTION=="add", SUBSYSTEM=="net", NAME=="", DRIVERS=="ibmveth", PROGRAM="/bin/sh -ec 'D=${DEVPATH#*/vio/}; D=${D%%%%/*}; D=${D#????}; D=${D#0}; D=${D#0}; D=${D#0}; D=${D#0}; echo ${D:-0}'", NAME="ibmveth$result"