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

@ -1776,19 +1776,27 @@ PARITY è uno dei nomi di parità: \`parity\`, \`2\-parity\`, \`3\-parity\`,
Il valore speciale * può essere utilizzato per ignorare l\'attributo
su tutti i dischi.
.PP
Ad esempio, per ignorare l\'attributo \`Current Pending Sector Count\`
su tutti i dischi:
È possibile specificare più attributi separati da spazi.
Ciascun attributo può essere specificato come un numero da 1 a 255, o come
un nome insensibile al maiuscolo/minuscolo (ad es. \`Current_Pending_Sector\`).
.PP
Ad esempio, per ignorare gli attributi \`Current Pending Sector Count\` e
\`Reallocated Sectors Count\` su tutti i dischi per numero o nome:
.PP
.RS 4
smartignore * 197
smartignore * 197 5
.PD 0
.PP
.PD
smartignore * Current_Pending_Sector Reallocated_Sector_Ct
.PD 0
.PD
.RE
.PP
Per ignorarlo solo sul primo disco di parità:
Per ignorarli solo sul primo disco di parità:
.PP
.RS 4
smartignore parity 197
smartignore parity 197 5
.PD 0
.PD
.RE