mirror of https://github.com/vitalif/e2fsprogs
tune2fs: tell the user that e2fsck -f is required
The message requesting that the user run e2fsck doesn't include the -f option, and this is needed to force a file system check. Addresses-Debian-Bug: #828022 Signed-off-by: Theodore Ts'o <tytso@mit.edu>next
parent
c4d54aa2f7
commit
4d4335323e
|
@ -116,9 +116,9 @@ struct blk_move {
|
||||||
|
|
||||||
errcode_t ext2fs_run_ext3_journal(ext2_filsys *fs);
|
errcode_t ext2fs_run_ext3_journal(ext2_filsys *fs);
|
||||||
|
|
||||||
static const char *please_fsck = N_("Please run e2fsck on the filesystem.\n");
|
static const char *please_fsck = N_("Please run e2fsck -f on the filesystem.\n");
|
||||||
static const char *please_dir_fsck =
|
static const char *please_dir_fsck =
|
||||||
N_("Please run e2fsck -D on the filesystem.\n");
|
N_("Please run e2fsck -fD on the filesystem.\n");
|
||||||
|
|
||||||
#ifdef CONFIG_BUILD_FINDFS
|
#ifdef CONFIG_BUILD_FINDFS
|
||||||
void do_findfs(int argc, char **argv);
|
void do_findfs(int argc, char **argv);
|
||||||
|
|
|
@ -11,7 +11,7 @@ Writing superblocks and filesystem accounting information: done
|
||||||
|
|
||||||
tune2fs -O metadata_csum test.img
|
tune2fs -O metadata_csum test.img
|
||||||
|
|
||||||
Please run e2fsck on the filesystem.
|
Please run e2fsck -f on the filesystem.
|
||||||
|
|
||||||
Exit status is 1
|
Exit status is 1
|
||||||
tune2fs -O metadata_csum test.img
|
tune2fs -O metadata_csum test.img
|
||||||
|
@ -57,7 +57,7 @@ Exit status is 0
|
||||||
tune2fs -O metadata_csum test.img
|
tune2fs -O metadata_csum test.img
|
||||||
Enabling checksums could take some time.
|
Enabling checksums could take some time.
|
||||||
Proceed anyway (or wait 5 seconds) ? (y,n)
|
Proceed anyway (or wait 5 seconds) ? (y,n)
|
||||||
Please run e2fsck -D on the filesystem.
|
Please run e2fsck -fD on the filesystem.
|
||||||
|
|
||||||
Exit status is 0
|
Exit status is 0
|
||||||
test_filesys was not cleanly unmounted, check forced.
|
test_filesys was not cleanly unmounted, check forced.
|
||||||
|
|
|
@ -18,7 +18,7 @@ Pass 5: Checking group summary information
|
||||||
Exit status is 0
|
Exit status is 0
|
||||||
tune2fs -O metadata_csum test.img
|
tune2fs -O metadata_csum test.img
|
||||||
|
|
||||||
Please run e2fsck -D on the filesystem.
|
Please run e2fsck -fD on the filesystem.
|
||||||
|
|
||||||
Exit status is 0
|
Exit status is 0
|
||||||
test_filesys was not cleanly unmounted, check forced.
|
test_filesys was not cleanly unmounted, check forced.
|
||||||
|
|
|
@ -18,7 +18,7 @@ Pass 5: Checking group summary information
|
||||||
Exit status is 0
|
Exit status is 0
|
||||||
tune2fs -O metadata_csum test.img
|
tune2fs -O metadata_csum test.img
|
||||||
|
|
||||||
Please run e2fsck -D on the filesystem.
|
Please run e2fsck -fD on the filesystem.
|
||||||
|
|
||||||
Exit status is 0
|
Exit status is 0
|
||||||
test_filesys was not cleanly unmounted, check forced.
|
test_filesys was not cleanly unmounted, check forced.
|
||||||
|
|
|
@ -19,7 +19,7 @@ Exit status is 0
|
||||||
tune2fs -I 256 -O metadata_csum test.img
|
tune2fs -I 256 -O metadata_csum test.img
|
||||||
Setting inode size 256
|
Setting inode size 256
|
||||||
|
|
||||||
Please run e2fsck -D on the filesystem.
|
Please run e2fsck -fD on the filesystem.
|
||||||
|
|
||||||
Exit status is 0
|
Exit status is 0
|
||||||
Backing up journal inode block information.
|
Backing up journal inode block information.
|
||||||
|
|
Loading…
Reference in New Issue