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
Extend/modify the diskio plugin to to also consider aliases of device names when filtering for a subset of disk devices. I implemented the feature (roughly, without tests and such), as a basis for discussion:
Filtering using the 'devices' options glob-matches only against actual devnode path (udev attribute DEVNAME)
Desired behavior:
Matching should also be done against components of DEVLINKS.
Use case:
I don't consider matching only the real devnodes (directly in /dev) particularly useful, as these are likely to not be consistent between reboots. Symlinks/aliases on the contrary are mostly persistent (or at least such can be created by custom udev rules).
The text was updated successfully, but these errors were encountered:
Remark: I didn't add any extra calls to diskInfo, as the lookup of the devlinks is added to diskName(). But there are already 2 calls, one in diskName() and one in diskTags()
Feature Request
Proposal:
Extend/modify the diskio plugin to to also consider aliases of device names when filtering for a subset of disk devices. I implemented the feature (roughly, without tests and such), as a basis for discussion:
omgold@267c1bc
Current behavior:
Filtering using the 'devices' options glob-matches only against actual devnode path (udev attribute DEVNAME)
Desired behavior:
Matching should also be done against components of DEVLINKS.
Use case:
I don't consider matching only the real devnodes (directly in /dev) particularly useful, as these are likely to not be consistent between reboots. Symlinks/aliases on the contrary are mostly persistent (or at least such can be created by custom udev rules).
The text was updated successfully, but these errors were encountered: