Skip to content

Instantly share code, notes, and snippets.

@donnydavis
Last active August 29, 2019 17:56
Show Gist options
  • Save donnydavis/f296c65951ccf94236ae533b15ce413c to your computer and use it in GitHub Desktop.
Save donnydavis/f296c65951ccf94236ae533b15ce413c to your computer and use it in GitHub Desktop.
KERNEL!="sr[0-9]", GOTO="no_config_drive_end"
# Import FS info udev
IMPORT{program}="/sbin/blkid -o udev -p %N"
ACTION!="add", GOTO="no_config_drive_end"
SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="iso9660|udf|vfat", ENV{ID_FS_LABEL}=="config-2|CONFIG-2", RUN+="/usr/bin/ucd --user-data-once"
# Exit
LABEL="no_config_drive_end"
@donnydavis
Copy link
Author

Aug 29 17:06:48 cl-ucd kernel: sr 0:0:0:0: Attached scsi CD-ROM sr0
Aug 29 17:06:48 cl-ucd kernel: probe of 0:0:0:0 returned 1 after 101555 usecs
Aug 29 17:06:48 cl-ucd kernel: initcall init_sr+0x0/0x1000 [sr_mod] returned 0 after 99200 usecs
Aug 29 17:06:48 cl-ucd systemd-udevd[180]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 29 17:06:48 cl-ucd systemd-udevd[197]: Using default interface naming scheme 'v240'.
Aug 29 17:06:48 cl-ucd systemd-logind[188]: New seat seat0.
Aug 29 17:06:48 cl-ucd systemd-logind[188]: Watching system buttons on /dev/input/event3 (Power Button)
Aug 29 17:06:48 cl-ucd systemd-logind[188]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)
Aug 29 17:06:48 cl-ucd systemd[1]: Started Login Service.
Aug 29 17:06:48 cl-ucd kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.02
Aug 29 17:06:48 cl-ucd kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Aug 29 17:06:48 cl-ucd kernel: usb usb1: Product: UHCI Host Controller
Aug 29 17:06:48 cl-ucd kernel: usb usb1: Manufacturer: Linux 5.2.10-379.kvm uhci_hcd
Aug 29 17:06:48 cl-ucd kernel: usb usb1: SerialNumber: 0000:00:01.2
Aug 29 17:06:48 cl-ucd kernel: hub 1-0:1.0: USB hub found
Aug 29 17:06:48 cl-ucd kernel: hub 1-0:1.0: 2 ports detected
Aug 29 17:06:48 cl-ucd kernel: probe of 1-0:1.0 returned 1 after 474 usecs
Aug 29 17:06:48 cl-ucd kernel: probe of usb1 returned 1 after 660 usecs
Aug 29 17:06:48 cl-ucd kernel: probe of 0000:00:01.2 returned 1 after 492348 usecs
Aug 29 17:06:48 cl-ucd kernel: initcall uhci_hcd_init+0x0/0x1000 [uhci_hcd] returned 0 after 358453 usecs
Aug 29 17:06:48 cl-ucd systemd-udevd[195]: Process '/usr/bin/ucd --user-data-once' failed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment