You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Replaces the use of udevadm output -- which cannot be accessed or isn't
available in some VMs or containers like Travis CI build environments -- with
simple file reads against sysfs. This required removing the label and uuid
attributes of the Partition object temporarily until I can figure out a better
way of getting this information.
Issue #3
There's no need to use udevadm to get a NIC's MAC address. We can query
for /sys/class/net/$DEVICE/addr_assign_type and
/sys/class/net/$DEVICE?address for this information.
Addresses issue #3
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
The text was updated successfully, but these errors were encountered: