diff options
author | Theodore Ts'o <tytso@mit.edu> | 2017-08-23 10:57:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-08-23 11:20:01 -0400 |
commit | a120a5da24d8bc7bfb644667f9925346351028d2 (patch) | |
tree | eac0869605a0f8920f5c1fd60afdc8defee15e9f /tests | |
parent | 966750417824a75935feb8add1906cca03987eed (diff) |
tune2fs: explain why an fsck is needed
Currently tune2fs just says without any explanation, "run fsck -f".
Add a short explanation that a freshly checked file system is required
to reduce user confusion. (We could add even more details, but
hopefully this is enough.)
Addresses-Debian-Bug: #857336
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/t_dangerous/expect | 4 | ||||
-rw-r--r-- | tests/t_enable_mcsum/expect | 2 | ||||
-rw-r--r-- | tests/t_enable_mcsum_initbg/expect | 2 | ||||
-rw-r--r-- | tests/t_iexpand_mcsum/expect | 2 |
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/t_dangerous/expect b/tests/t_dangerous/expect index bae7e0e6..3bae8faf 100644 --- a/tests/t_dangerous/expect +++ b/tests/t_dangerous/expect @@ -11,6 +11,8 @@ Writing superblocks and filesystem accounting information: done tune2fs -O metadata_csum test.img +This operation requires a freshly checked filesystem. + Please run e2fsck -f on the filesystem. Exit status is 1 @@ -57,6 +59,8 @@ Exit status is 0 tune2fs -O metadata_csum test.img Enabling checksums could take some time. Proceed anyway (or wait 5 seconds) ? (y,N) +This operation requires a freshly checked filesystem. + Please run e2fsck -fD on the filesystem. Exit status is 0 diff --git a/tests/t_enable_mcsum/expect b/tests/t_enable_mcsum/expect index 5a1a33a5..c8a2674b 100644 --- a/tests/t_enable_mcsum/expect +++ b/tests/t_enable_mcsum/expect @@ -18,6 +18,8 @@ Pass 5: Checking group summary information Exit status is 0 tune2fs -O metadata_csum test.img +This operation requires a freshly checked filesystem. + Please run e2fsck -fD on the filesystem. Exit status is 0 diff --git a/tests/t_enable_mcsum_initbg/expect b/tests/t_enable_mcsum_initbg/expect index ed4774c2..e05dd603 100644 --- a/tests/t_enable_mcsum_initbg/expect +++ b/tests/t_enable_mcsum_initbg/expect @@ -18,6 +18,8 @@ Pass 5: Checking group summary information Exit status is 0 tune2fs -O metadata_csum test.img +This operation requires a freshly checked filesystem. + Please run e2fsck -fD on the filesystem. Exit status is 0 diff --git a/tests/t_iexpand_mcsum/expect b/tests/t_iexpand_mcsum/expect index 0ebf1626..772bd623 100644 --- a/tests/t_iexpand_mcsum/expect +++ b/tests/t_iexpand_mcsum/expect @@ -19,6 +19,8 @@ Exit status is 0 tune2fs -I 256 -O metadata_csum test.img Setting inode size 256 +This operation requires a freshly checked filesystem. + Please run e2fsck -fD on the filesystem. Exit status is 0 |