The '-f' parameter is fsck.ext# specific, where it's documented to: Force checking even if filesystem is marked clean _repair_test_fs() is only called on _check_test_fs() failure, so dropping the parameter should be possible without changing ext# behaviour. Doing so fixes _repair_test_fs() on exfat, where fsck.exfat doesn't support '-f'. Signed-off-by: David Disseldorp <ddiss@xxxxxxx> --- v2: drop -f from default case instead of splitting out exfat case common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 5c4429ed..66d270ac 100644 --- a/common/rc +++ b/common/rc @@ -1231,7 +1231,7 @@ _repair_test_fs() ;; *) # Let's hope fsck -y suffices... - fsck -t $FSTYP -fy $TEST_DEV >$tmp.repair 2>&1 + fsck -t $FSTYP -y $TEST_DEV >$tmp.repair 2>&1 res=$? if test "$res" -lt 4 ; then res=0 -- 2.35.3