Skip to content

Instantly share code, notes, and snippets.

@ryuichiueda
Created January 3, 2016 13:56
Show Gist options
  • Save ryuichiueda/e727fd1b001d0778780b to your computer and use it in GitHub Desktop.
Save ryuichiueda/e727fd1b001d0778780b to your computer and use it in GitHub Desktop.
ueda@ubuntu14:~$ sudo udevadm monitor --kernel --property
monitor will print the received events for:
KERNEL - the kernel uevent
KERNEL[159.305967] add /module/sushi (module)
ACTION=add
DEVPATH=/module/sushi
SEQNUM=1568
SUBSYSTEM=module
KERNEL[159.307481] add /class/sushi (class)
ACTION=add
DEVPATH=/class/sushi
SEQNUM=1569
SUBSYSTEM=class
KERNEL[159.308677] add /devices/virtual/sushi/sushi0 (sushi)
ACTION=add
DEVNAME=/dev/sushi0
DEVPATH=/devices/virtual/sushi/sushi0
MAJOR=249
MINOR=0
SEQNUM=1570
SUBSYSTEM=sushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment