From owner-freebsd-hackers Sun Apr 12 15:58:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14652 for freebsd-hackers-outgoing; Sun, 12 Apr 1998 15:58:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (nsmart@ts01-09.waterford.indigo.ie [194.125.139.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14644; Sun, 12 Apr 1998 15:58:41 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id XAA02936; Sun, 12 Apr 1998 23:59:07 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199804122259.XAA02936@indigo.ie> Date: Sun, 12 Apr 1998 23:59:07 +0000 In-Reply-To: Klaus Werner Krygier "Linux emulation problem" (Apr 12, 12:42pm) Reply-To: rotel@indigo.ie X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Klaus Werner Krygier , freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Linux emulation problem Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Apr 12, 12:42pm, Klaus Werner Krygier wrote: } Subject: Linux emulation problem > > Hi, > > Is it possible to force the Linux emulator to use the /compat/linux > tree only for shared libraries and other system files but not on the > user level? > > Instead of files and directories in the / tree the /compat/linux tree is > accessed. Especially addressing of a subdirectory for which the > corresponding /compat/linux directory exists yields in accessing ONLY the > Linux files. The same effect occurs for example if you use a Linux find: > $ ./find /etc > /etc > /etc/host.conf > /etc/ld.so.conf > /etc/ld.so.cache > /etc/revision-history > /etc/nsswitch.conf > $ > Can anyone give us some helpful hints how to solve this problem? I just noticed that if you create /compat/linux/foo as a symlink to /etc then linux binaries get the contents of the "real" /etc, however I consider this to be broken and have send-pr'd it. Perhaps you could fork off a FreeBSD tar process to collect the files for you? Niall -- Niall Smart. Microsoft Suck. See www.freebsd.org for details. echo "#define if(x) if(!(x))" >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message