jaypipes / hwk

Simple library for common hardware-related discovery and manipulation routines
Apache License 2.0
0 stars 0 forks source link

Don't use udevadm shellouts if possible #3

Open jaypipes opened 7 years ago

jaypipes commented 7 years ago

When writing https://github.com/jaypipes/ghw, I figured out a way around using udevadm for finding things like the disk serial numbers. Refactor the udevadm shellouts out of hwk

jaypipes commented 7 years ago

udevadm uses an in-memory database derived from parsing the PCI vendor/model information here:

http://pci-ids.ucw.cz/v2.2/pci.ids

Not sure if it's worth doing something similar :(