Add support for custom smartctl info options using a [info: ...] tag

This commit is contained in:
Andrea Mazzoleni 2026-06-15 14:41:03 +02:00
parent 7c9473027c
commit b9d181d9cb
56 changed files with 631 additions and 221 deletions

View file

@ -1403,6 +1403,9 @@ PARITY는 `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`,
RAID 컨트롤러의 경우 장치가 고정되어 있을 가능성이 높으므로
`%s`를 사용할 필요가 없을 수 있습니다.
기본 `-a` 옵션을 대체하기 위해 `[info: ...]` 태그를 사용하여
사용자 정의 정보 옵션 문자열을 지정할 수도 있습니다.
가능한 옵션은 smartmontools 설명서를 참조하십시오:
https://www.smartmontools.org/wiki/Supported_RAID-Controllers
@ -1410,6 +1413,7 @@ RAID 컨트롤러의 경우 장치가 고정되어 있을 가능성이 높으므
예:
smartctl d1 [info: -H -i -c -A] -d sat %s
smartctl parity -d sat %s
7.18 smartignore DISK/PARITY ATTR [ATTR...]
@ -1446,7 +1450,7 @@ Unix의 일반적인 설정 예는 다음과 같습니다:
data d3 /mnt/disk3/
exclude /lost+found/
exclude /tmp/
smartctl d1 -d sat %s
smartctl d1 [info: -H -i -c -A] -d sat %s
smartctl d2 -d usbjmicron %s
smartctl parity -d areca,1/1 /dev/sg0
smartctl 2-parity -d areca,2/1 /dev/sg0
@ -1462,7 +1466,7 @@ Windows의 일반적인 설정 예는 다음과 같습니다:
exclude Thumbs.db
exclude \$RECYCLE.BIN
exclude \System Volume Information
smartctl d1 -d sat %s
smartctl d1 [info: -H -i -c -A] -d sat %s
smartctl d2 -d usbjmicron %s
smartctl parity -d areca,1/1 /dev/arcmsr0
smartctl 2-parity -d areca,2/1 /dev/arcmsr0