[lxc-devel] [PATCH] lxc-alpine: create /dev/zero

Serge Hallyn serge.hallyn at ubuntu.com
Mon Aug 26 12:22:12 UTC 2013


Quoting Natanael Copa (ncopa at alpinelinux.org):
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  templates/lxc-alpine.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
> index ce7226f..2ab10bb 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
> -- 
> 1.8.3.4
> 
> 
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list