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

@ -1776,6 +1776,9 @@ Cod de ieșire (Exit Code)
0 - Totul este OK.
1 - Comanda a întâmpinat unele erori.
2 - Comanda `diff` a constatat că totul este OK, dar este necesar un `sync`.
3 - O comandă de dispozitiv de disc (`probe`, `smart`, `devices`, `up`,
`down`) s-a finalizat, dar cel puțin un sistem de fișiere funcționează
în mod degradat cu dispozitive lipsă.
Probleme Cunoscute (Known Issues)
Limitele sistemului de fișiere