Subject: Re: freebsd emulation
To: Mark Willey <willeyma@expert.cc.purdue.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-help
Date: 06/26/1996 18:07:56
On Wed, 26 Jun 1996 16:17:30 -0500 (EST) 
 Mark Willey <willeyma@expert.cc.purdue.edu> wrote:

 > install the shared libs relative to /emul/FreeBSD.  do a chroot to
 > /emul/FreeBSD.  ldconfig there to make the cache for the FreeBSD emulation.

Actually, it's /emul/freebsd.

 > exit the chroot shell, and try running it.  Good luck

I have this for my linux compat on my i486 at work (/etc/rc):

if [ -x /emul/linux/sbin/ldconfig ]; then
	chroot /emul/linux /sbin/ldconfig
fi

I imagine you could just do the same thing for /emul/freebsd in /etc/rc.

 -- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ -- 
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939