Comment 40 for bug 1833618

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : Re: failing to deploy Ubuntu Disco

Alright, I'll change the udev rules from sg3-utils-udev package to ignore USB devices. From the initial ACTION (add) event, I only get simple data from udev:

S: disk/by-id/usb-Corsair_Voyager_Mini_3.0_070851D0E490C776-0:0
S: disk/by-path/pci-0000:00:14.0-usb-0:2:1.0-scsi-0:0:0:0
S: disk/by-label/Ubuntu\x2019.04\x20amd64
S: disk/by-uuid/2019-04-16-19-19-59-00
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host2/target2:0:0/2:0:0:0/block/sdc
E: SUBSYSTEM=block
E: DEVNAME=/dev/sdc
E: DEVTYPE=disk
E: MAJOR=8
E: MINOR=32
E: USEC_INITIALIZED=376735479267

Before the device is fully initialized. I will try to ignore DEVPATH containing *usb*, for example, at least for the VPD pages 0x80 and 0x83, I'll get back soon.