From owner-freebsd-hackers Mon Nov 9 09:34:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27410 for freebsd-hackers-outgoing; Mon, 9 Nov 1998 09:34:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27405 for ; Mon, 9 Nov 1998 09:34:56 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id MAA02660; Mon, 9 Nov 1998 12:34:38 -0500 (EST) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id NAA22180; Mon, 9 Nov 1998 13:20:48 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id MAA23943; Mon, 9 Nov 1998 12:35:05 -0500 (EST) Date: Mon, 9 Nov 1998 12:35:05 -0500 (EST) From: Thomas David Rivers Message-Id: <199811091735.MAA23943@lakes.dignus.com> To: hackers@FreeBSD.ORG, sgk@troutmask.apl.washington.edu Subject: Re: linux software installation and uname In-Reply-To: <199811091712.JAA10172@troutmask.apl.washington.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Ladies and Gents, > > I've recently installed the Portland Groups's Fortran 90 > for Linux on my system (it works!). However, during the > installation from the cdrom, a install script is executed > that contains a test involving "uname -s" to ensure the > installation is on a system running Linux. Of course, > "uname -s" on a FreeBSD system returns "FreeBSD" instead > of the expected "Linux". Thus, I had to alter uname(1) > to report "Linux" to install the software. With the > expected availability of more commericial software for Linux, > it seems necessary to provide uname(1) the capability to > report "Linux" in place of "FreeBSD". > > -- > Steve > Steve - We've been here before. The consensus - after considerable debate - was to not make such a change. The problem is that several automated processes - particularly WEB related - use uname to determine what kind of machines they are running on. If we return "Linux" - then we inflate the linux numbers at the cost of our own. In my particular instance, I was able to persuade the vendor that it was artificially limiting its customer base. And thus, the uname check was changed to accept either "FreeBSD" or "Linux". Perhaps you could do the same with the Lahey people. For the previous debate; I refer you to the mail archives. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message