From 1a57baf2340c05687e5a4f1821e2b637a446cd66 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 21 Sep 2005 12:40:22 +0000 Subject: [PATCH] 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. --- man4/initrd.4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man4/initrd.4 b/man4/initrd.4 index 512e2bd18..d4264b297 100644 --- a/man4/initrd.4 +++ b/man4/initrd.4 @@ -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. .\" .\" .\"