summaryrefslogtreecommitdiff
path: root/e2fsck
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-03-12 19:25:33 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-03-15 00:14:12 -0400
commit751265b0b49a5ff7c746d111a11bb883aa300841 (patch)
tree69f45c3085e692908c6c89a85eace254ffb35c4d /e2fsck
parent298c9c2f2e7cbe4250d054d2e0f4bef007a940ac (diff)
downloade2fsprogs-751265b0b49a5ff7c746d111a11bb883aa300841.tar.gz
e2fsck: Make the "filesystem is mounted" message more scary
I guess the message wasn't scary enough for users who are just smart enough to really get themselves in deep doo-doo. Let's make it even scarier. Addresses-Launchpad-Bug: #537483 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck')
-rw-r--r--e2fsck/unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 49e90085..124f7e60 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -230,8 +230,8 @@ static void check_mount(e2fsck_t ctx)
if (!ctx->interactive)
fatal_error(ctx, _("Cannot continue, aborting.\n\n"));
printf(_("\n\n\007\007\007\007WARNING!!! "
- "Running e2fsck on a mounted filesystem may cause\n"
- "SEVERE filesystem damage.\007\007\007\n\n"));
+ "The filesystem is mounted. If you continue you ***WILL***\n"
+ "cause ***SEVERE*** filesystem damage.\007\007\007\n\n"));
cont = ask_yn(_("Do you really want to continue"), -1);
if (!cont) {
printf (_("check aborted.\n"));