pilebones / go-udev

Simple udev implementation in Golang
GNU General Public License v3.0
95 stars 28 forks source link

mimic libudev.h functions for some properties #30

Open notdanhan opened 2 years ago

notdanhan commented 2 years ago

I am using this on a small project and I required the Devnode and Syspath of a hardware device, I was not sure what property they were in the netlink.UEvent.Env map and I had to dig through the source of systemd and several other sources to find out, I figured it'd be nice if they had aliases that were closer to libudev.h