From owner-freebsd-questions@FreeBSD.ORG Mon Jun 19 08:43:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85F7516A47C for ; Mon, 19 Jun 2006 08:43:28 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B60A43D45 for ; Mon, 19 Jun 2006 08:43:28 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1FsFLz-00074k-3b; Mon, 19 Jun 2006 09:43:27 +0100 Received: from [82.41.34.175] (helo=[192.168.0.2]) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1FsFLv-0005Ky-81; Mon, 19 Jun 2006 09:43:23 +0100 Message-ID: <449663A8.5070203@dial.pipex.com> Date: Mon, 19 Jun 2006 09:43:20 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Jim Stapleton References: <80f4f2b20606181355x3155c33dp1e498dea663000c5@mail.gmail.com> <4495C1DF.9040506@dial.pipex.com> <80f4f2b20606181428o270e0dedl885bf38540723b15@mail.gmail.com> In-Reply-To: <80f4f2b20606181428o270e0dedl885bf38540723b15@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: smoke and mirrors - any way to trick an app into thinking I'm running linux? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 08:43:28 -0000 Jim Stapleton wrote: > I don't know how to find out, except that the app is the Crossover > Office demo installer. I'd like to try to find a way to trick it into > running in the linux compatability mode of FreeBSD if I can. So is there source code? Or is it some dumb binary rpm? You could try running it under ktrace, then look at the output of kdump (assuming that works for linux apps), but the output will be *long* so you will have to edit out a judicious part which leads up to the "Linux" string being printed, and it might not help. But, it might, for example, look to see if some file exists (/etc/redhat-release or something). Darrin Chandler wrote: >In addition, consider respecting the wishes of >the developer(s) and not using it. If they have any sort of "free" >license then you can always release a portable fork. Respect a license? Yes, probably. Respect the wishes? Fat chance. That way lies doom... --Alex