Detect degraded filesystems in device commands and exit with EXIT_DEGRADED
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run

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

View file

@ -2288,6 +2288,11 @@ The command encountered some errors.
.I 2
The \`diff\` command found everything is OK, but a \`sync\` is
needed.
.HP 4
.I 3
A disk device command (\`probe\`, \`smart\`, \`devices\`, \`up\`,
\`down\`) completed, but at least one filesystem is running in
degraded mode with missing device(s).
.PD
.RE
.SH KNOWN ISSUES