Add support for specifying case-insensitive SMART attribute names in the smartignore option

This commit is contained in:
Andrea Mazzoleni 2026-06-25 22:52:53 +02:00
parent a6aa723b08
commit 82fdb5663d
51 changed files with 624 additions and 231 deletions

View file

@ -1283,13 +1283,19 @@ Name{number}
`4-parity`、`5-parity`、`6-parity`、または `z-parity`。
特殊な値 `*` は、すべてのディスクで属性を無視するために使用できます。
例として、すべてのディスクで `Current Pending Sector Count` 属性を無視するには:
複数の属性をスペースで区切って指定できます。
各属性は1から255までの数値、または大文字と小文字を区别しない名前
(例: `Current_Pending_Sector`)として指定できます。
:smartignore * 197
例として、すべてのディスクで `Current Pending Sector Count` と
`Reallocated Sectors Count` 属性を番号または名前で無視するには:
:smartignore * 197 5
:smartignore * Current_Pending_Sector Reallocated_Sector_Ct
最初のパリティディスクでのみ無視するには:
:smartignore parity 197
:smartignore parity 197 5
Examples
Unixの一般的な構成の例は次のとおりです。