Whamcloud - gitweb
e2fsck: add a 'yes to all' response in interactive mode
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 16 Feb 2015 15:41:20 +0000 (10:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Feb 2015 15:41:20 +0000 (10:41 -0500)
commitaeb933b3f2f5fff583f5f41ea63e90c5bb1f1f94
tree47f88a64fac7f1c9db986870aeba1f1820753cf2
parentad5d05d6455803993e95844b17fdca40fa5bb083
e2fsck: add a 'yes to all' response in interactive mode

Provide a mechanism for a user to switch fsck into '-y' mode if they
start an interactive session and then get tired of pressing 'y' in
response to numerous prompts.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
14 files changed:
e2fsck/e2fsck.8.in
e2fsck/unix.c
e2fsck/util.c
tests/f_no/expect [new file with mode: 0644]
tests/f_no/script [new file with mode: 0644]
tests/f_yes/expect [new file with mode: 0644]
tests/f_yes/script [new file with mode: 0644]
tests/f_yesall/expect [new file with mode: 0644]
tests/f_yesall/image.gz [new file with mode: 0644]
tests/f_yesall/script [new file with mode: 0644]
tests/f_yesthenall/expect [new file with mode: 0644]
tests/f_yesthenall/script [new file with mode: 0644]
tests/f_yesthenno/expect [new file with mode: 0644]
tests/f_yesthenno/script [new file with mode: 0644]