-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
smart: Introduce well-known attribute names, validation and pretty va…
…lues This introduces a level of abstraction for attribute names and its values. As long as the smartmontools drivedb is vastly inconsistent in attribute names, a whitelist for each well known attributes had to be introduced. It serves as a validation point as well and well known name is provided only once it passes the whitelist. Along with attribute name validation, a definition of attribute value unit is carried in the table. So besides the well known name a parsed value and its unit is provided as well.
- Loading branch information
Showing
5 changed files
with
245 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.