diff options
Diffstat (limited to 'chapter07/kernfs.xml')
-rw-r--r-- | chapter07/kernfs.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index b5b0762bb..049f6e804 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -107,9 +107,9 @@ mount -vt tmpfs tmpfs $LFS/run</userinput></screen> we must explicitly mount a tmpfs:</para> <screen><userinput>if [ -h $LFS/dev/shm ]; then - mkdir -pv $LFS/$(readlink $LFS/dev/shm) + (cd $LFS/dev; mkdir $(readlink shm)) else - mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm + mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm fi</userinput></screen> </sect2> |