On 3/26/20 10:22 AM, Xi Ruoyao via blfs-dev wrote:
Now the book is handling the case "/dev/shm is a link to /run/shm" correctly and explicitly. Unfortunately it seems for the case "/dev/shm is *not* a link to /run/shm" the book is defective. I'm surprised that it didn't cause any problem building LFS...
I have not tested completely, but what if we did this in LFS instead of a bind mount of $LFS/dev:
mount -vt devtmpfs devtmpfs $LFS/dev On my LFS system I then have: /mnt/lfs/dev/shm -> /run/shm but if the host does not have /mnt/lfs/dev/shm, then a simple mkdir -pv $LFS/dev/shm should suffice. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page