Hi, Could somebody please point me in the right direction? I am setting up a chroot environment in openbsd-4.3 and I expect a shell with a tty. I think I narrowed it down to:
as root: r=/tmp/root mkdir $r cd $r mkdir -p bin cp /bin/sh bin mkdir -p usr/bin cp /usr/bin/tty usr/bin mkdir -p usr/lib cp /usr/lib/libc.so* usr/lib mkdir usr/libexec cp /usr/libexec/ld.so usr/libexec mkdir dev cp /dev/MAKEDEV dev ( cd dev; sh MAKEDEV all; ) chroot $r /bin/sh tty not a tty Where I am going wrong? -- Leo Baltus