Whamcloud - gitweb
e2fsck: Make the "filesystem is mounted" message more scary
authorTheodore Ts'o <tytso@mit.edu>
Sat, 13 Mar 2010 00:25:33 +0000 (19:25 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 15 Mar 2010 04:14:12 +0000 (00:14 -0400)
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>
e2fsck/unix.c

index 49e9008..124f7e6 100644 (file)
@@ -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"));