diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index 1259006d5..a5230a5d9 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -76,12 +76,14 @@ mount -vt tmpfs tmpfs /dev/shm with symlinks to pseudo files in /proc/self/fd (which are symlinks to the files connected to the standard I/O streams for the current - process). This is necessary for I/O redirection in the building system - of some packages to function properly: + process). And, create another symlink recommended by the kernel + documentation. These are necessary for I/O redirection in the building + system of some packages to function properly: ln -sfv /proc/self/fd/0 /dev/stdin ln -sfv /proc/self/fd/1 /dev/stdout -ln -sfv /proc/self/fd/2 /dev/stderr +ln -sfv /proc/self/fd/2 /dev/stderr +ln -sv /proc/self/fd /dev