aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/stripping.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/stripping.xml')
-rw-r--r--chapter07/stripping.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter07/stripping.xml b/chapter07/stripping.xml
index 65edf3a89..6572b042e 100644
--- a/chapter07/stripping.xml
+++ b/chapter07/stripping.xml
@@ -162,6 +162,12 @@ tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
<!-- Make the following look different so users don't blindly run the
restore when they don't need to. -->
+ <warning><para>The following commands are extremly dangerous. If
+ you run <command>rm -rf ./*</command> as the root user and you
+ do not change to the $LFS directory or the <envar>LFS</envar>
+ environment variable is not set for the root user, it will destroy
+ your entire host system. YOU ARE WARNED.</para></warning>
+
<screen role="nodump" revision="sysv"><computeroutput>cd $LFS
rm -rf ./*
tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen>