From owner-freebsd-emulation@FreeBSD.ORG Tue May 2 22:50:44 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DD3B16A402 for ; Tue, 2 May 2006 22:50:44 +0000 (UTC) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5936E43D67 for ; Tue, 2 May 2006 22:50:41 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 267B3F27D0 for ; Tue, 2 May 2006 15:50:41 -0700 (PDT) X-Virus-Scanned: by amavisd-new at mcneil.com Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O5sULLhlGkQ0 for ; Tue, 2 May 2006 15:50:40 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id B9526F18C8 for ; Tue, 2 May 2006 15:50:40 -0700 (PDT) From: Sean McNeil To: emulation@freebsd.org Content-Type: text/plain Date: Tue, 02 May 2006 15:50:40 -0700 Message-Id: <1146610240.80438.4.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: Linux expr command vs. FreeBSD version 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, 02 May 2006 22:50:44 -0000 I ran into a problem with paths when running linux emulation. It appears that when looking for a file, linux emulation will first try /compat/linux/path and if not found, /path. This causes grief with expr as the Linux version supports enhancements like "expr match" whereas the FreeBSD version does not. To get around the issue, I put a symlink in /compat/linux/bin/expr -> /compat/linux/usr/bin/expr. I don't know of any better solution. Anyone? Cheers, Sean