aboutsummaryrefslogtreecommitdiffstats
path: root/man4/initrd.4
diff options
context:
space:
mode:
Diffstat (limited to 'man4/initrd.4')
-rw-r--r--man4/initrd.413
1 files changed, 8 insertions, 5 deletions
diff --git a/man4/initrd.4 b/man4/initrd.4
index f13492e2fc..91099368a0 100644
--- a/man4/initrd.4
+++ b/man4/initrd.4
@@ -226,7 +226,9 @@ For example, the following shell command line would change
the normal root device to
.IR /dev/hdb1 :
.nf
- echo 0x365 >/proc/sys/kernel/real-root-dev
+
+ echo 0x365 >/proc/sys/kernel/real-root-dev
+
.fi
For a NFS example, the following shell command lines would change the
normal root device to the NFS directory
@@ -234,10 +236,11 @@ normal root device to the NFS directory
on a local networked NFS server with IP number 193.8.232.7 for a system with
IP number 193.8.232.7 and named 'idefix':
.nf
- echo /var/nfsroot >/proc/sys/kernel/nfs-root-name
- echo 193.8.232.2:193.8.232.7::255.255.255.0:idefix \\
- >/proc/sys/kernel/nfs-root-addrs
- echo 255 >/proc/sys/kernel/real-root-dev
+
+ echo /var/nfsroot >/proc/sys/kernel/nfs-root-name
+ echo 193.8.232.2:193.8.232.7::255.255.255.0:idefix \\
+ >/proc/sys/kernel/nfs-root-addrs
+ echo 255 >/proc/sys/kernel/real-root-dev
.fi
.BR Note :