]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/problem.h
e2fsck: use root dir for lost+found when really desperate
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Aug 2014 02:18:30 +0000 (22:18 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 Aug 2014 02:18:30 +0000 (22:18 -0400)
commit0991896720917b467e573a5fae38539d950d0617
tree4f988a96654147b502ebbe0c796c503c83e7b4d4
parent409f3884b54092c4b160e33d731b2218e48dbec3
e2fsck: use root dir for lost+found when really desperate

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@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass3.c
e2fsck/problem.c
e2fsck/problem.h
tests/f_nospc_create_lnf/expect.1 [new file with mode: 0644]
tests/f_nospc_create_lnf/expect.2 [new file with mode: 0644]
tests/f_nospc_create_lnf/image.gz [new file with mode: 0644]
tests/f_nospc_create_lnf/name [new file with mode: 0644]