tune2fs, mke2fs: use "Proceed (y, N)" so the default is clear

Addresses-Debian-Bug: #852727

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o 2017-01-31 16:17:15 -05:00
parent da9d5b80d8
commit 57fd203662
2 changed files with 8 additions and 8 deletions

View File

@ -101,11 +101,11 @@ void proceed_question(int delay)
return;
}
signal(SIGALRM, alarm_signal);
printf(_("Proceed anyway (or wait %d seconds) ? (y,n) "),
printf(_("Proceed anyway (or wait %d seconds) ? (y,N) "),
delay);
alarm(delay);
} else
fputs(_("Proceed anyway? (y,n) "), stdout);
fputs(_("Proceed anyway? (y,N) "), stdout);
buf[0] = 0;
if (!fgets(buf, sizeof(buf), stdin) ||
strchr(short_yes, buf[0]) == 0) {

View File

@ -35,15 +35,15 @@ Pass 5: Checking group summary information
Exit status is 0
tune2fs -O metadata_csum test.img
Enabling checksums could take some time.
Proceed anyway (or wait 5 seconds) ? (y,n)
Proceed anyway (or wait 5 seconds) ? (y,N)
Exit status is 1
tune2fs -I 512 test.img
Resizing inodes could take some time.
Proceed anyway (or wait 5 seconds) ? (y,n)
Proceed anyway (or wait 5 seconds) ? (y,N)
Exit status is 1
tune2fs -U random test.img
Setting UUID on a checksummed filesystem could take some time.
Proceed anyway (or wait 5 seconds) ? (y,n)
Proceed anyway (or wait 5 seconds) ? (y,N)
Exit status is 1
Change in FS metadata:
@ -56,7 +56,7 @@ Pass 5: Checking group summary information
Exit status is 0
tune2fs -O metadata_csum test.img
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 -fD on the filesystem.
Exit status is 0
@ -72,11 +72,11 @@ Pass 5: Checking group summary information
tune2fs -I 512 test.img
Resizing inodes could take some time.
Proceed anyway (or wait 5 seconds) ? (y,n) Setting inode size 512
Proceed anyway (or wait 5 seconds) ? (y,N) Setting inode size 512
Exit status is 0
tune2fs -U f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0 test.img
Setting UUID on a checksummed filesystem could take some time.
Proceed anyway (or wait 5 seconds) ? (y,n) Exit status is 0
Proceed anyway (or wait 5 seconds) ? (y,N) Exit status is 0
Backing up journal inode block information.