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

@ -1328,14 +1328,19 @@ Name{number}
`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의 일반적인 설정 예는 다음과 같습니다: