Subject: Random though - more integrated linux emulation
To: None <>
From: Jaromir Dolecek <>
List: tech-kern
Date: 03/24/1999 19:41:47
Just a random thought.

AFAICS the path translating in compatibility mode is
here in big part to ensure the linux/whatever program reaches the right
shared object. 

What if we would have our own /lib/
with specially hacked dlopen(), so that it would open
/emul/$compat$file if it would exist, instead of $file.
Otherwise there would be no additional
path grokking. Would it be enough ? The /usr/lib/
could even be just a wrapper, which would replace itself
with something like a /usr/emul/$compat. 
There could be even handful of some other necesary linux tools
(linux-ldconfig comes to mind -- it can't use "native"

Is it totally stupid idea ?

There might be problems for files which have same name
name under Linux and NetBSD, but have other format.
I can't see if this is really a show stopper.

Jaromir Dolecek <>
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde