]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: add /dev FD symlinks in container setup
authorDave Reisner <dreisner@archlinux.org>
Wed, 15 Aug 2012 00:00:31 +0000 (20:00 -0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Aug 2012 15:19:38 +0000 (17:19 +0200)
commit4fc9982cb0499f6502aefc5b8f410658c6d4d261
tree040e5f721189fad9eab92c9498b1fc598530c907
parent8f0e73f250f4a397ea07d29a339bd7e64d077612
nspawn: add /dev FD symlinks in container setup

This creates /dev/fd, /dev/stdin, /dev/stdout, /dev/stderr, and
/dev/core as symlinks to /proc on container creation. Except for
/dev/core, these are needed for shells like bash to be fully functional.
src/nspawn/nspawn.c