🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.admin
Article #26

Re: How would a script recognize Linux?

#26
From: cman
Date: Sat, 04 Mar 1995 01:08
18 lines
1962 bytes
On 2 Mar 1995 14:19:21 -0500, bill davidsen (davidsen@tmr.com) wrote:
: This is why I suggested looking for /vmlinux first, it at least
: won't give you misleading information. I really *can* believe that
: someone who was using SCO because they had to would name their
: machine 'linux' and break the uname method. Of course I know people
: running Linux who wish they had some of the SCO features, too, so
: that cuts both ways.

With the kernels getting larger and larger, I don't think that you will 
find many /mvlinux's.  I use /vmlinuz, indicating a compressed kernal 
image.  uname() conforms to SVID, AT&T, POSIX, X/OPEN, and even SunOS 
4.1.3 returns SunOS.  SCO is somewhere in neverneverland.

-- 
 ------------------------------------------------------------------------------

   <A HREF="ftp://ftp.netcom.com/pub/cm/cman/index.html">Mike's Home Page</A>
         Links to FAQs; cool commercial, graphics and music pages, etc.
Technical Details
Message-ID: <cmanD4w5uz.Hxw@netcom.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!news.mathworks.com!news.duke.edu!agate!howland.reston.ans.net!ix.netcom.com!netcom.com!cman
References: <3il1e2$6fq@usenetw1.news.prodigy.com> <D4KrMG.LFA@erie.ge.com> <5718@artcom0.north.de> <3j55np$8ee@usenetw1.news.prodigy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100df9,650d05e30da3de92
X-Google-Attributes: gid100df9,public
X-Google-Thread: 1122ea,27188ece54367802
X-Google-Attributes: gid1122ea,public
X-Google-ArrivalTime: 1995-03-03 17:08:59 PST
Newsgroups: comp.os.linux.admin,biz.sco.general
Path: arc1-ca.pugleaf.net!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!news.mathworks.com!news.duke.edu!agate!howland.reston.ans.net!ix.netcom.com!netcom.com!cman
From: cman@netcom.com (cman)
Subject: Re: How would a script recognize Linux?
Message-ID: <cmanD4w5uz.Hxw@netcom.com>
Followup-To: comp.os.linux.admin,biz.sco.general
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <3il1e2$6fq@usenetw1.news.prodigy.com> <D4KrMG.LFA@erie.ge.com> <5718@artcom0.north.de> <3j55np$8ee@usenetw1.news.prodigy.com>
Date: Sat, 4 Mar 1995 01:08:59 GMT
Lines: 18
Sender: cman@netcom11.netcom.com