summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen2001-02-13 20:04:30 +0000
committerEric Andersen2001-02-13 20:04:30 +0000
commit6fd8c664c1bcb44429b81444be640ff08cac3702 (patch)
treea8faf540fe49e308e52e1694e00f280ac51b9192 /applets
parent3af1f88725348b15a0aa467b5734d55210bedf7c (diff)
downloadbusybox-6fd8c664c1bcb44429b81444be640ff08cac3702.zip
busybox-6fd8c664c1bcb44429b81444be640ff08cac3702.tar.gz
Apply a patch from Evin Robertson -- new pivot_root applet.
-Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/usage.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 52c0a69..13107c6 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -1012,6 +1012,16 @@ const char ping_usage[] =
#endif
#endif
+#if defined BB_PIVOT_ROOT
+const char pivot_root_usage[] =
+ "pivot_root new_root put_old"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\n\nMove the current root file system to put_old and make new_root\n"
+ "the new root file system."
+#endif
+ ;
+#endif
+
#if defined BB_POWEROFF
const char poweroff_usage[] =
"poweroff"