From: Theodore Ts'o Date: Sat, 13 Mar 2010 00:25:33 +0000 (-0500) Subject: e2fsck: Make the "filesystem is mounted" message more scary X-Git-Tag: v1.41.11~7 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=751265b0b49a5ff7c746d111a11bb883aa300841;p=tools%2Fe2fsprogs.git 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" --- diff --git a/e2fsck/unix.c b/e2fsck/unix.c index 49e9008..124f7e6 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"));