parent
965ff5c36c
commit
eff6657a52
|
|
@ -500,6 +500,7 @@ change_root()
|
|||
|
||||
# make sure important device files and directories are in union
|
||||
mkdir -p boot dev proc sys tmp mnt run
|
||||
chmod 1777 tmp
|
||||
if [ ! -e dev/console ]; then mknod dev/console c 5 1; fi
|
||||
if [ ! -e dev/tty ]; then mknod dev/tty c 5 0; fi
|
||||
if [ ! -e dev/tty0 ]; then mknod dev/tty0 c 4 0; fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue