Skip to content

Instantly share code, notes, and snippets.

@reflexing
Created March 16, 2013 05:23
Show Gist options
  • Select an option

  • Save reflexing/5175102 to your computer and use it in GitHub Desktop.

Select an option

Save reflexing/5175102 to your computer and use it in GitHub Desktop.
udevadm info /sys/class/net/eth0
P: /devices/pci0000:00/0000:00:03.0/virtio0/net/eth0
E: DEVPATH=/devices/pci0000:00/0000:00:03.0/virtio0/net/eth0
E: ID_BUS=pci
E: ID_MODEL_ID=0x1000
E: ID_NET_NAME_MAC=enx0401010ec701
E: ID_PCI_CLASS_FROM_DATABASE=Network controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
E: ID_PRODUCT_FROM_DATABASE=Virtio network device
E: ID_VENDOR_FROM_DATABASE=Red Hat, Inc
E: ID_VENDOR_ID=0x1af4
E: IFINDEX=2
E: INTERFACE=eth0
E: SUBSYSTEM=net
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/eth0
E: TAGS=:systemd:
E: USEC_INITIALIZED=27967
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment