mirror of
https://github.com/nobodino/slackware-from-scratch
synced 2024-09-28 03:20:42 +02:00
9 lines
281 B
Bash
Executable file
9 lines
281 B
Bash
Executable file
#!/bin/bash
|
|
mount -v --bind /dev "$SFS"/dev
|
|
mount -vt devpts devpts "$SFS"/dev/pts -o gid=5,mode=620
|
|
mount -vt proc proc "$SFS"/proc
|
|
mount -vt sysfs sysfs "$SFS"/sys
|
|
mount -vt tmpfs tmpfs "$SFS"/run
|
|
if [ -h "$SFS"/dev/shm ]; then
|
|
mkdir -pv "$SFS"/"$(readlink "$SFS"/dev/shm)"
|
|
fi
|