Mounting Virtual Kernel File Systems
Create the dirs:
mkdir -p $LFS/{proc,sys}
Now mount the file systems:
mount -t proc proc $LFS/proc
mount -t sysfs sysfs $LFS/sys
Do some fake mounts
:
mount -f -t ramfs ramfs $LFS/dev
mount -f -t tmpfs tmpfs $LFS/dev/shm
mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts