From owner-freebsd-emulation@FreeBSD.ORG Tue May 1 19:46:13 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E4E516A404 for ; Tue, 1 May 2007 19:46:12 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 7BD5113C4AE for ; Tue, 1 May 2007 19:46:12 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id l41JPfNc026174 for ; Tue, 1 May 2007 13:25:41 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id l41JPeKd041737; Tue, 1 May 2007 13:25:40 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id l41JPdqC041734; Tue, 1 May 2007 13:25:39 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17975.37939.743304.357841@gromit.timing.com> Date: Tue, 1 May 2007 13:25:39 -0600 From: John E Hein To: emulation@freebsd.org X-Mailer: VM 7.19 under Emacs 22.0.99.1 X-Virus-Scanned: ClamAV version 0.90, clamav-milter version devel-120207 on Daffy.timing.com X-Virus-Status: Clean X-Spam-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on Daffy.timing.com Cc: Subject: sym links to absolute pathnames in /compat/linux X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 19:46:13 -0000 Are sym links to absolute pathnames supposed to try to look in /compat/linux first? /compat/linux/usr/bin/foo -> /bin/foo I thought I recalled that Alexander said recently they _were_ supposed to look in /compat/linux first. But I don't seem to have that behavior on the 6-stable box I'm using at the moment. # ln -s /bin/foo /compat/linux/usr/bin/foo # ls -l /compat/linux/usr/bin/foo lrwxr-xr-x 1 root wheel 8 May 1 19:17 /compat/linux/usr/bin/foo -> /bin/foo # cp -p /compat/linux/bin/ls /compat/linux/bin/foo # cp -p /bin/ls /bin/foo # /compat/linux/usr/bin/foo --version foo: illegal option -- - usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] # /compat/linux/bin/foo --version ls (coreutils) 5.2.1 Written by Richard Stallman and David MacKenzie. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.