]> git.parisson.com Git - clone-me.git/commitdiff
add pts
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 7 Jun 2021 07:26:03 +0000 (09:26 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 7 Jun 2021 07:26:03 +0000 (09:26 +0200)
chroot-off.sh
chroot-on.sh

index 8995f10232777947b33b598cab63569a80e5332f..4733ad84f88cbfecad6e53f6efae01511d766f65 100755 (executable)
@@ -3,6 +3,7 @@ dir=/mnt/custom
 
 umount $dir/sys
 umount $dir/proc
+umount $dir/dev/pts
 umount $dir/dev
 umount $dir/var
 umount $dir/home
index e59440913d690e3736159e65ebb78738c8a10c0e..08fc9038295a5e46a45ff85ef1e3242af63c1db3 100755 (executable)
@@ -10,6 +10,7 @@ mount $ROOT $dir
 mount --bind /sys $dir/sys
 mount --bind /proc $dir/proc
 mount --bind /dev $dir/dev
+mount --bind /dev/pts $dir/dev/pts
 mount --bind /run $dir/run
 mount $VAR $dir/var
 mount $HOME $dir/home