[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140805005858.GU8628@birch.djwong.org>
Date: Mon, 4 Aug 2014 17:58:58 -0700
From: "Darrick J. Wong" <darrick.wong@...cle.com>
To: "Theodore Ts'o" <tytso@....edu>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 03/19] e2fsck: use root dir for lost+found when really
desperate
On Sat, Aug 02, 2014 at 10:25:53PM -0400, Theodore Ts'o wrote:
> On Fri, Aug 01, 2014 at 11:11:59AM -0700, Darrick J. Wong wrote:
> > From: Darrick J. Wong <darrick.wong@...cle.com>
> >
> > If we're totally unable to allocate a lost+found directory, ask the
> > user if he would like to dump orphaned files in the root directory.
> > Hopefully this enables the user to delete enough files so that a
> > subsequent run of e2fsck will make more progress. Better to cram lost
> > files in the rootdir than the current behavior, which is to fail at
> > linking them in, thereby leaving them as lost files.
> >
> > Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
>
> Applied, although I changed:
>
> > + printf("Delete some files and re-run e2fsck.\n\n");
>
> to:
>
> printf(_("Delete some files and re-run e2fsck.\n\n"));
I don't see this in the tree on kernel.org, but I'm sending you a patch to
change it to a fix_problem anyway.
--D
>
> for proper internationalization support. Usually, I like to run all
> messages through problem.c, like this:
>
> fix_problem(ctx, PR_3_PASS_HEADER, &pctx);
>
> { PR_3_PASS_HEADER,
> N_("Pass 3: Checking @d connectivity\n"),
> PROMPT_NONE, 0 },
>
> and I may change this over at some point, but I'll leave it as a
> printf for now.
>
> Thanks!!
>
> - Ted
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists