Re: [PATCH 3/5] e2fsck: print a notice when we've started suppressing a problem code
From: Andreas Dilger <hidden>
Date: 2012-03-18 23:16:35
From: Andreas Dilger <hidden>
Date: 2012-03-18 23:16:35
On 2012-03-18, at 1:52 PM, Theodore Ts'o wrote:
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> --- e2fsck/problem.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)diff --git a/e2fsck/problem.c b/e2fsck/problem.c index 53e8e11..7d5b10d 100644 --- a/e2fsck/problem.c +++ b/e2fsck/problem.c@@ -1868,6 +1868,11 @@ int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx)if ((ptr->flags & PR_LATCH_MASK) && (ldesc->flags & (PRL_YES | PRL_NO))) suppress++; + if (ptr->count == ptr->max_count + 1) { + printf("...problem 0x%06x suppressed\n", + ptr->e2p_code); + fflush(stdout); + }
Did a patch ever land to allow an interactive e2fsck run to set a sticky answer (y/n) for a particular problem? I know it has been proposed several times. Cheers, Andreas