Display more explicit message about risk of data loss.

parent 2b4ad4d4
......@@ -2,6 +2,8 @@ fstransform (0.9.3-3) UNRELEASED; urgency=medium
[ Giovanni Mascellani ]
* Update Vcs-* after migration to salsa.
* Display a more explicit warning message about the risk of data corruption
when executing with little available memory (closes: #925957).
[ Ondřej Nový ]
* d/copyright: Use https protocol in Format field
From: Giovanni Mascellani <gio@debian.org>
Date: Sat, 30 Mar 2019 11:13:30 +0100
Subject: Output explicit warning about data corruption with low memory.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925957
fstransform/fstransform.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/fstransform/fstransform.sh b/fstransform/fstransform.sh
index 4df9ec9..31c33e7 100755
--- a/fstransform/fstransform.sh
+++ b/fstransform/fstransform.sh
@@ -1084,6 +1084,12 @@ move_device_contents_into_loop_file() {
log_warn_add "if one of them is becoming full (or both),"
log_warn_add "you MUST stop $PROG with CTRL+C or equivalent."
+ log_warn_add "Also, this program has been observed producing DATA"
+ log_warn_add "CORRUPTION when executed in environments with limited"
+ log_warn_add "available memory (as much as 64 MB). Please, be aware"
+ log_warn_add "of this risk and DO NOT RUN THIS PROGRAM ON DATA THAT"
+ log_warn_add "YOU CANNOT AFFORT TO LOSE!"
+ log_warn_add
if test "$OPT_ASK_QUESTIONS" = "yes"; then
log_warn_add "this is your chance to quit."
log_warn_add_prompt "press ENTER to continue, or CTRL+C to quit: "
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment