Skip to content

Instantly share code, notes, and snippets.

@gdm
Last active October 6, 2018 22:24
Show Gist options
  • Select an option

  • Save gdm/5631bbe7bd72551e71691fed5df8d910 to your computer and use it in GitHub Desktop.

Select an option

Save gdm/5631bbe7bd72551e71691fed5df8d910 to your computer and use it in GitHub Desktop.
udevadm info -n /dev/sdb -q property
udevadm monitor
Pre-installed udev rules
/lib/udev/rules.d/60-block.rules
ACTION=="add", SUBSYSTEM=="block", ENV{ID_FS_UUID}=="xxxxx", RUN+="/root/my-usb.sh $devpath $name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment