smoke and mirrors - any way to trick an app into thinking I'm running linux?

Alex Zbyslaw xfb52 at
Mon Jun 19 08:43:28 UTC 2006

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...


More information about the freebsd-questions mailing list