From: Natanael Copa Date: Mon, 26 Aug 2013 11:47:58 +0000 (+0200) Subject: lxc-alpine: create /dev/zero X-Git-Tag: lxc-1.0.0.alpha1~1^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c63f8d035045af1103b677b5ec577aec59a5b5;p=thirdparty%2Flxc.git lxc-alpine: create /dev/zero Signed-off-by: Natanael Copa Signed-off-by: Serge Hallyn --- diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index ce7226f73..2ab10bbb8 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -126,6 +126,7 @@ EOF echo "Setting up device nodes" mkdir -p -m 755 "$rootfs/dev/pts" mkdir -p -m 1777 "$rootfs/dev/shm" + mknod -m 666 "$rootfs/dev/zero" c 1 5 mknod -m 666 "$rootfs/dev/full" c 1 7 mknod -m 666 "$rootfs/dev/random" c 1 8 mknod -m 666 "$rootfs/dev/urandom" c 1 9