]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/pivot_root.8
script: add note about --log-in and passwords
[thirdparty/util-linux.git] / sys-utils / pivot_root.8
index 2260957e9aa7ec53d615d1577fc6e188d30c16bd..febedd03bc04cfc3f5c1ea39c51d047f9d7778c4 100644 (file)
@@ -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
+Display version information and exit.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display help text and exit.
 .SH EXAMPLES
 Change the root file system to /dev/hda1 from an interactive shell:
 .sp
@@ -59,9 +66,10 @@ exec chroot . sh -c 'umount /old_root; exec /sbin/init' \\
 .fi
 .SH "SEE ALSO"
 .BR chroot (1),
-.BR mount (8),
 .BR pivot_root (2),
+.BR mount (8),
+.BR switch_root (8),
 .BR umount (8)
 .SH AVAILABILITY
 The pivot_root command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
+https://www.kernel.org/pub/linux/utils/util-linux/.