Can I avoid to compile all from /usr/src?
I'd like to have the full base system inside /mychroot to do some tests.
# sh -c 'BSDINSTALL_DISTSITE=ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.1-RELEASE bsdinstall jail /mychroot'
I don't know if there is such a command, but you could set the prompt of the chrooted root shell in /mychroot/root/.cshrc accordingly:another question: when I chroot in a directory, which command can I use to see if I'm in chroot mode or on the real root (/) ?
...
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "%N@CHROOT:%~ %# "
...
# touch /mychroot/CHROOT