From owner-freebsd-questions@FreeBSD.ORG Sun Jun 18 21:28:30 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 5446916A47E for ; Sun, 18 Jun 2006 21:28:30 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AF843D55 for ; Sun, 18 Jun 2006 21:28:27 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so597339uge for ; Sun, 18 Jun 2006 14:28:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e6HLcPQhjLe8a8x504b5fcltmJFYneCa4yf1BXoGhutebej7rUjhghNFsDw7kn+NizlyVQvWDrZroQ4NLy6XWIHkTGohWsNmAf4fXacxEFpKUEN6wzM4AR+uGvYwvuDFzKKHSe+QfmhFxCkT3rJCuR3d4pIGkKj3nkT6S1FWNEA= Received: by 10.67.19.13 with SMTP id w13mr4856321ugi; Sun, 18 Jun 2006 14:28:26 -0700 (PDT) Received: by 10.67.100.9 with HTTP; Sun, 18 Jun 2006 14:28:26 -0700 (PDT) Message-ID: <80f4f2b20606181428o270e0dedl885bf38540723b15@mail.gmail.com> Date: Sun, 18 Jun 2006 17:28:26 -0400 From: "Jim Stapleton" To: "Alex Zbyslaw" , freebsd-questions@freebsd.org In-Reply-To: <4495C1DF.9040506@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20606181355x3155c33dp1e498dea663000c5@mail.gmail.com> <4495C1DF.9040506@dial.pipex.com> Cc: 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: Sun, 18 Jun 2006 21:28:30 -0000 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. On 6/18/06, Alex Zbyslaw wrote: > Jim Stapleton wrote: > > > Basically, I have an application that doesn't want to run in FreeBSD, > > though it may still run given the compatability layer. I was wondering > > if there was some way to make the OS respond when it ran the > > application, that it was linux and not BSD. > > i.e. > > > > > > ======================================== > > $ ./some_app > > Sorry, we only deal with Linux people, go away! > > > > $ sysctl.pretend.register /home/me/some_app "generic-i386-linux" > > $ ./some_app > > Hello world! > > ======================================== > > That really rather depends on *how* the app is asking. If you can tell > us that, we can almost certainly tell you how to fool it. > > Of course, if you have the source code, it should be easy as you can > just comment out the test and recompile. > > Mind you, if the app is as short-sighted and bloody-minded as its > developers, maybe you should just look for an alternative. > > --Alex > > >