delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=BLNljbd+eioG8uIRGUjz4UaEHOUxUidZWCIw4VertcF | |
KSmi2SMxYLySd2GDBCFxvekIIF1R7pV5uWBZ2XMmpjFW1HdGnX7JXiI2yP6O1ZbP | |
ivC0FUkHkl7PelUIE9+vPMMe17Vt21lybuhkerJo016lCnu8kJJ+HTfKahBtthZM | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=EL1SAtCRZMp6AETTcfHiZ/QPD4A=; b=BqxvfphjsRVNHQr64 | |
TxXd/yDgxvLk2WpezBLy/hIZRdLtMSuESa3jt70cIlX0Irv1Hqv4+BstgG3mRf6G | |
Xn1DNmnv8wr9BLRTgHt4FtUYUTeItrsgIjAD6uFaSQmuXef3Cw4od9etgN9UWoUa | |
mdT3p9fsFT+f3IQI4TQ1sqUMTM= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-4.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD autolearn=ham version=3.3.1 |
Message-ID: | <51AE5A4A.9000009@etr-usa.com> |
Date: | Tue, 04 Jun 2013 15:21:14 -0600 |
From: | Warren Young <warren AT etr-usa DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
MIME-Version: | 1.0 |
To: | Cygwin-L <cygwin AT cygwin DOT com> |
Subject: | Re: Mounting ISOs with Cygwin? |
References: | <20130603222026 DOT GA11213 AT ns2 DOT sdsitehosting DOT net> <51AD1CFA DOT 5050908 AT cygwin DOT com> <CAPF-yOaOFgHrw_1on74E3E0-gcvjtd_ajRnx_S2PuDfH7Ue94g AT mail DOT gmail DOT com> <51AD2A47 DOT 3070808 AT etr-usa DOT com> <CAPF-yOa+e3X7-vyuvYou9gd3f-sOV5NRyusZrH2gEAqVAq43sw AT mail DOT gmail DOT com> |
In-Reply-To: | <CAPF-yOa+e3X7-vyuvYou9gd3f-sOV5NRyusZrH2gEAqVAq43sw@mail.gmail.com> |
On 6/3/2013 17:52, Dan Kegel wrote: > On Mon, Jun 3, 2013 at 4:44 PM, Warren Young wrote: >>>> Cygwin != Linux >>> >>> /proc/cpuinfo begs to differ :-) >> >> $ grep -i linux /proc/cpuinfo | wc -l >> 0 > > Wrong test. I think you were looking for > $ test -f /proc/cpuinfo && echo "looks like linux" > > See also http://www.sourceware.org/ml/cygwin-patches/2003-q2/msg00054.html $ test -f /etc/termcap && echo "looks like BSD" Any single test is likely to confuse software that needs to be portable. This is why, 2 decades ago, the creators of Autoconf popularized the practice of testing for individual needed features, not whole platforms. (You see this in the long output from a "configure" script. It doesn't just say "looks like Linux".) Cygwin does conform most closely to Linux, but if you write softwares that blindly assumes Cygwin *is* Linux, you're likely to get surprised at some point. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |