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

@ -1475,14 +1475,19 @@ PARITY to jedna z nazw parzystości: `parity`, `2-parity`, `3-parity`,
`4-parity`, `5-parity`, `6-parity` lub `z-parity`.
Specjalna wartość * może być użyta do zignorowania atrybutu na wszystkich dyskach.
Na przykład, aby zignorować atrybut `Current Pending Sector Count` na
wszystkich dyskach:
Można określić wiele atrybutów oddzielonych spacjami.
Każdy atrybut można określić jako liczbę od 1 do 255 lub jako nazwę
niewrażliwą na wielkość liter (np. `Current_Pending_Sector`).
smartignore * 197
Na przykład, aby zignorować atrybuty `Current Pending Sector Count` i
`Reallocated Sectors Count` na wszystkich dyskach za pomocą ich numeru lub nazwy:
Aby zignorować go tylko na pierwszym dysku parzystości:
smartignore * 197 5
smartignore * Current_Pending_Sector Reallocated_Sector_Ct
smartignore parity 197
Aby zignorować je tylko na pierwszym dysku parzystości:
smartignore parity 197 5
7.19 Examples
-------------