Skip to content

Instantly share code, notes, and snippets.

@donnydavis
Created August 29, 2019 16:23
Show Gist options
  • Save donnydavis/07a728bab8133fa2b83349dba8068189 to your computer and use it in GitHub Desktop.
Save donnydavis/07a728bab8133fa2b83349dba8068189 to your computer and use it in GitHub Desktop.
clear@cl-ucd~ $ sudo udevadm info -q all /dev/sr0
P: /devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sr0
N: sr0
L: 0
S: disk/by-id/ata-QEMU_DVD-ROM_QM00001
S: disk/by-path/pci-0000:00:01.1-ata-1
E: DEVPATH=/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sr0
E: DEVNAME=/dev/sr0
E: DEVTYPE=disk
E: MAJOR=11
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=3302354
E: ID_ATA=1
E: ID_TYPE=cd
E: ID_BUS=ata
E: ID_MODEL=QEMU_DVD-ROM
E: ID_MODEL_ENC=QEMU\x20DVD-ROM\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=2.5+
E: ID_SERIAL=QEMU_DVD-ROM_QM00001
E: ID_SERIAL_SHORT=QM00001
E: ID_PATH=pci-0000:00:01.1-ata-1
E: ID_PATH_TAG=pci-0000_00_01_1-ata-1
E: DEVLINKS=/dev/disk/by-id/ata-QEMU_DVD-ROM_QM00001 /dev/disk/by-path/pci-0000:00:01.1-ata-1
E: TAGS=:systemd:
clear@cl-ucd~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment