summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-03-09 04:04:28 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-06-10 12:57:14 +0200
commit231496c82ad07399de94062dbbb72a895da64c34 (patch)
tree878c5af2da8f0a48b1488eee777a6145dac6816f /lib
parentfda394f1a054e58f146e942b5971944e562583a0 (diff)
downloaddevtools-231496c82ad07399de94062dbbb72a895da64c34.tar.gz
devtools-231496c82ad07399de94062dbbb72a895da64c34.tar.xz
mkarchroot: use bind mount instead of symlink for /dev/ptmx
We need /dev/ptmx -> /dev/pts/ptmx (for devpts -o newinstance) Other way to do this thing is via bind mount (as said kernel doc[devpts.txt]). This should be done in this way at least for /dev as devtmpfs in the chroot. Since we can not touch /dev (devtmpfs), because devtmpfs is "singleton", just use bind method and avoid interference. Do it the same for both modes of /dev (tmpfs) and (devtmpfs) to keep it simple. Currently devpts in chroot is not working without this when using /dev as devtmpfs, this fixes this issue (opening /dev/ptmx, creates devices nodes on outside /dev/pts) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions