diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index 585f8852c..a5230a5d9 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -85,17 +85,6 @@ ln -sfv /proc/self/fd/1 /dev/stdout ln -sfv /proc/self/fd/2 /dev/stderr ln -sv /proc/self/fd /dev - In other cases /dev/shm is a mountpoint - for a tmpfs. In that case the mount of /dev above will only create - /dev/shm in the chroot environment as a directory. In this situation - we explicitly mount a tmpfs, - -if [ -h $LFS/dev/shm ]; then - mkdir -pv $LFS/$(readlink $LFS/dev/shm) -else - mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm -fi -