Added text noting that the use or real-root-dev for changing

the root device is obsolete, in favour of pivot root.
(However, the page still needs to be rewritten
to actually describe the pivot_root method...)
As per Debian bug 323621.
This commit is contained in:
Michael Kerrisk 2005-09-21 12:40:22 +00:00
parent 6b2fc2945f
commit 1a57baf234
1 changed files with 13 additions and 0 deletions

View File

@ -235,6 +235,19 @@ IP number 193.8.232.7 and named 'idefix':
>/proc/sys/kernel/nfs-root-addrs
echo 255 >/proc/sys/kernel/real-root-dev
.fi
.BR Note :
The use of
.BR /proc/sys/kernel/real-root-dev
to change the root file system is obsolete.
See the kernel source file
.I Documentation/initrd.txt
as well as
.BR pivot_root (2)
and
.BR pivot_root (8)
for information on the modern method of changing the root file system.
.\" FIXME the manual page should describe the pivot_root mechanism.
.\"
.\"
.\"