mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
15 lines
285 B
Bash
15 lines
285 B
Bash
#!/bin/bash
|
|
|
|
mkdir -pv $LFS/{dev,proc,sys,run}
|
|
|
|
mount -v --bind /dev $LFS/dev
|
|
|
|
mount -v --bind /dev/pts $LFS/dev/pts
|
|
mount -vt proc proc $LFS/proc
|
|
mount -vt sysfs sysfs $LFS/sys
|
|
mount -vt tmpfs tmpfs $LFS/run
|
|
|
|
if [ -h $LFS/dev/shm ]; then
|
|
mkdir -pv $LFS/$(readlink $LFS/dev/shm)
|
|
fi
|
|
|