Date: Sun, 18 Jun 2006 16:55:15 -0400 From: "Jim Stapleton" <stapleton.41@gmail.com> To: freebsd-questions@freebsd.org Subject: smoke and mirrors - any way to trick an app into thinking I'm running linux? Message-ID: <80f4f2b20606181355x3155c33dp1e498dea663000c5@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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! ======================================== or ======================================== $ ./some_app Sorry, we only deal with Linux people, go away! $ pretend_os "generic-i386-linux" some_app Hello world! ======================================== Thanks, -Jim Stapleton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20606181355x3155c33dp1e498dea663000c5>