Mounting ISOs with Cygwin?

Warren Young warren@etr-usa.com
Tue Jun 4 21:21:00 GMT 2013


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



More information about the Cygwin mailing list