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

@ -1358,6 +1358,9 @@ PARITY はパリティ名のいずれかです:`parity`、`2-parity`、`3-pari
RAIDコントローラーの場合、デバイスは固定されている可能性が高いため、
`%s` を使用する必要はないかもしれません。
デフォルトの `-a` オプションを置き換えるために、`[info: ...]` タグを使用して
カスタム情報オプション文字列を指定することもできます。
使用可能なオプションについては、smartmontoolsのドキュメントを参照してください。
https://www.smartmontools.org/wiki/Supported_RAID-Controllers
@ -1365,6 +1368,7 @@ RAIDコントローラーの場合、デバイスは固定されている可能
例:
smartctl d1 [info: -H -i -c -A] -d sat %s
smartctl parity -d sat %s
7.18 smartignore DISK/PARITY ATTR [ATTR...]
@ -1400,7 +1404,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
@ -1416,7 +1420,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