Subject: Re: /emul/xxx for all/other /sys/compat/xxx?
To: None <tech-kern@NetBSD.ORG>
From: Christos Zoulas <>
List: tech-kern
Date: 03/06/1995 04:48:17
In article <> (matthew green) writes:
>the problem is that you've only got 8 characters to work with:
>changing `/usr/lib' to `/emul/sunos' would extend the string 3
>characters and break the program.  though this is a good idea,
>i'm not entirely sure how to do it properly.

It does not work this way. Basically all the syscalls that need to call
namei(), they first check:

if the file starts with a / and does not resolve to root and there is a file
by that name in /emul/xxx/pathname, then that file is opened.