Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!lynx.aba.net.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!hunter.premier.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!agate!news.ucsc.edu!cats.ucsc.edu!banshee
From: banshee@cats.ucsc.edu (Wailer at the Gates of Dawn)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Please help with netbsd or openbsd question
Date: 11 Aug 1996 00:33:32 GMT
Organization: University of California, Santa Cruz
Lines: 40
Message-ID: <4uj9os$93m@darkstar.ucsc.edu>
References: <3208BADE.1CFBAE39@ee.cornell.edu> <4ucvi9$e5v@mail.fwi.uva.nl>
NNTP-Posting-Host: ese.ucsc.edu
X-Newsreader: NN version 6.5.0 #1 (NOV)
thats
COMPAT_LINUX (8) - setup procedure for running Linux binaries
(just to be pedantic)
/emul/linux might be something you'd want to NFS mount from a linux box
if you had that option.
<exerpted>
NetBSD supports running Linux binaries. This only applies to i386 systems
for now. Both the a.out and ELF binary formats are supported. Most pro-
grams should work, including the ones that use the Linux SVGAlib. Pro-
grams that will not work include the Linux /proc filesystem (which is
different from the optional NetBSD /proc filesystem), and i386-specific
calls, such as enabling virtual 8086 mode. Currently, sound is not sup-
ported for Linux binaries (they will probably run, but not produce any
sound).
The Linux compatibility feature is active for kernels compiled with the
COMPAT_LINUX option enabled.
A lot of programs are dynamically linked. This means, that you will also
need the Linux shared libraries that the program depends on, and the run-
time linker. Also, you will need to create a "shadow root" directory for
Linux binaries on your NetBSD system. This directory is named
/emul/linux. Any file operations done by Linux programs run under NetBSD
will look in this directory first. So, if a Linux program opens, for ex-
ample, /etc/passwd, NetBSD will first try to open /emul/linux/etc/passwd,
and if that does not exist open the 'real' /etc/passwd file. It is recom-
mended that you install Linux packages that include configuration files,
etc under /emul/linux, to avoid naming conflicts with possible NetBSD
counterparts. Shared libraries should also be installed in the shadow
tree.
--
The Wailer at the Gates of Dawn | banshee@resort.com |
Just who ARE you calling a FROOFROO Head? | |
DoD#0667 "Just a friend of the beast." | banshee@cats.UCSC.EDU |
2,3,5,7,13,17,19,31,61,89,107,127,521,607....| |