Mount `/dev/shm' (shared memory support).

svn path=/nixos/trunk/; revision=13908
This commit is contained in:
Ludovic Courtès 2009-01-29 19:17:55 +00:00
parent 2b8216bdda
commit 6085b298ae

View File

@ -69,6 +69,8 @@ mkdir -m 0755 -p /sys
mount -t sysfs none /sys
mkdir -m 0755 -p /dev
mount -t tmpfs -o "mode=0755" none /dev
mkdir -m 0777 /dev/shm
mount -t tmpfs -o "rw,nosuid,nodev" tmpfs /dev/shm
mkdir -m 0755 -p /dev/pts
mount -t devpts none /dev/pts
[ -e /proc/bus/usb ] && mount -t usbfs none /proc/bus/usb # uml doesn't have usb by default