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

@ -1582,10 +1582,19 @@ PARITY はパリティ名のいずれかです:\`parity\`、\`2\-parity\`、\`
\`4\-parity\`、\`5\-parity\`、\`6\-parity\`、または \`z\-parity\`。
特殊な値 \`*\` は、すべてのディスクで属性を無視するために使用できます。
.PP
例として、すべてのディスクで \`Current Pending Sector Count\` 属性を無視するには:
複数の属性をスペースで区切って指定できます。
各属性は1から255までの数値、または大文字と小文字を区别しない名前
(例: \`Current_Pending_Sector\`)として指定できます。
.PP
例として、すべてのディスクで \`Current Pending Sector Count\` と
\`Reallocated Sectors Count\` 属性を番号または名前で無視するには:
.PP
.RS 4
smartignore * 197
smartignore * 197 5
.PD 0
.PP
.PD
smartignore * Current_Pending_Sector Reallocated_Sector_Ct
.PD 0
.PD
.RE
@ -1593,7 +1602,7 @@ smartignore * 197
最初のパリティディスクでのみ無視するには:
.PP
.RS 4
smartignore parity 197
smartignore parity 197 5
.PD 0
.PD
.RE