Detect degraded filesystems in device commands and exit with EXIT_DEGRADED

This commit is contained in:
Andrea Mazzoleni 2026-09-18 23:28:47 +02:00
parent 2a4335ef7d
commit 929ba5cebe
47 changed files with 183 additions and 4 deletions

View file

@ -1877,6 +1877,9 @@ Codice di uscita (Exit Code)
0 - Tutto OK.
1 - Il comando ha riscontrato alcuni errori.
2 - Il comando `diff` ha rilevato che tutto è OK, ma è necessario un `sync`.
3 - Un comando di gestione dischi (`probe`, `smart`, `devices`, `up`,
`down`) è stato completato, ma almeno un filesystem è in modalità
degradata con dispositivi mancanti.
Problemi noti (Known Issues)
Limiti del filesystem