summaryrefslogtreecommitdiffstats
path: root/sys-utils/pivot_root.8
diff options
context:
space:
mode:
authorSami Kerola2011-08-31 20:37:29 +0200
committerSami Kerola2011-09-17 14:25:20 +0200
commit8d3abdc0ae016b95b5657eb954a31def47665998 (patch)
tree2f949b1cb0085ea362658d040f2018a357ad5fd9 /sys-utils/pivot_root.8
parentpivot_root: add version & help option (diff)
downloadkernel-qcow2-util-linux-8d3abdc0ae016b95b5657eb954a31def47665998.tar.gz
kernel-qcow2-util-linux-8d3abdc0ae016b95b5657eb954a31def47665998.tar.xz
kernel-qcow2-util-linux-8d3abdc0ae016b95b5657eb954a31def47665998.zip
docs: mention long options in pivot_root.8
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/pivot_root.8')
-rw-r--r--sys-utils/pivot_root.89
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-utils/pivot_root.8 b/sys-utils/pivot_root.8
index cf1eda640..e2609728a 100644
--- a/sys-utils/pivot_root.8
+++ b/sys-utils/pivot_root.8
@@ -1,4 +1,4 @@
-.TH PIVOT_ROOT 8 "February 2000" "util-linux" "System Administration"
+.TH PIVOT_ROOT 8 "August 2011" "util-linux" "System Administration"
.SH NAME
pivot_root \- change the root filesystem
.SH SYNOPSIS
@@ -32,6 +32,13 @@ device on the old root file system, keeping it busy. They can easily be
changed when invoking \fBchroot\fP (see below; note the absence of
leading slashes to make it work whether \fBpivot_root\fP has changed the
shell's root or not).
+.SH OPTIONS
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Output version information and exit.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display help and exit.
.SH EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
.sp