Hi all,

The page http://www.linuxfromscratch.org/lfs/view/development/chapter06/kernfs.html says :

if [ -h $LFS/dev/shm ]; then
  mkdir -pv $LFS/$(readlink $LFS/dev/shm)
fi

I use a debian host, and
echo $(readlink $LFS/dev/shm) return /run/shm
so the command (with LFS=/mnt/lfs)
mkdir -pv $LFS/$(readlink $LFS/dev/shm) create the /mnt/lfs//run shm directory (with two //)

I think that the correct directory is /mnt/lfs/run/shm.

It is a bug ? (and the command is mkdir -pv $LFS$(readlink $LFS/dev/shm) instead mkdir -pv $LFS/$(readlink $LFS/dev/shm) (no / after $LFS) ?

Thanks,

Regards,

Denis @ Myou
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to