delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/14/19:09:43

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=B41wwZgaoTexj036dzRiuMlTZ1dI
LpIozxHd2MLnr7N8zz7yNEx79g7RjwzQaiuaxfdAli1mwGX/D63YZgqoQPhefo6B
E6JpCxkgHCO56e4/W9vWceeN6Lep0O0hkJvSEij7mewmZh92Nsqv+WBKG5zaBJAz
MTMLbfgm/ULnLAA=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=ZLcRxfr9RyTz270BxCKVyq0F6Ss=; b=Ag
2A2pr/zqmJ5pdi4YBY2cQMG0oyqJ5qPkvHj9ua66DkwFlCpdCZ6309qGbQf3yTlV
UMlgSlze2YEt2244ZoWf2ifyv6sKp4NPFPR1bidRG32XebNembkygklEIn+tT/jY
RaNsLDVzBgOf95wPRD0Rep19AcHM7Trv4UcV0yHgI=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=1.1 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=joke, crap, This=e2, This?=
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: native Linux userland in Windows 10
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <1117668279.20160414220758@yandex.ru>
Date: Thu, 14 Apr 2016 17:09:21 -0600
Message-Id: <9B4C5920-2F0F-4D7C-A489-A6329679A1E8@etr-usa.com>
References: <416uDmm4T7200S05 DOT 1460552179 AT web05 DOT cms DOT usa DOT net> <84CCF5B5-9F11-4541-A527-FD0BD3AE5545 AT etr-usa DOT com> <1117668279 DOT 20160414220758 AT yandex DOT ru>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3EN9aqV028010

On Apr 14, 2016, at 1:07 PM, Andrey Repin wrote:
> 
>>> small things like cygpath
> 
>> A cygpath like facility is neither useful nor needed in UfW.
> 
> Which means, I can't call diff between files on my file manager's two panels?

Sure you can.  c:\tmp\foo.txt is seen as /mnt/c/tmp/foo.txt inside the UfW box.  That is, /mnt under UfW behaves much like /cygpath under Cygwin.

The only difference between UfW and Cygwin in this regard is that UfW doesn’t have any fallbacks for mixed-mode and DOS-style style paths.  Only POSIX paths work, which is the recommended way of working with Cygwin, too.  Microsoft is bypassing one of the most troublesome areas of day-to-day Cygwin use here by refusing to accept anything but POSIX paths.

(Open question: does UfW’s Bash shell accept UNC paths?)

>> Ubuntu with severe limitations
>> is still highly useful; witness Raspian.
> 
> Raspian is an operating system.
> This… this, I don't know how to call it, but it's a complete joke.

Hyperbolic much?

I’d say UfW checks off most of the defining characteristics of an OS: there’s a separate kernel and userland, it does scheduling, mediates IPC, keeps processes from stomping on each other…  About the only thing it doesn’t do is privilege separation, but if that’s a necessary qualification for a thing to be an OS, a Linux box booted into single-user mode isn’t an OS, either.

You could also think of it as a Linux personality on top of the NT microkernel, and it’s the microkernel that’s the OS.

>> A concrete example: All those soul-patch web developers choose to carry Mac
>> laptops not just because they’re the hipster choice, but because Node runs
>> much better under OS X than Windows.  That proposition wholly changes in
>> this UfW world: run node.js in the Ubuntu box and connect to it over the
>> OS’s shared network stack from the Windows GUI browser of your choice.
> 
> At the same time, you could run any given VM and get much better options and
> choices.

You can make the same argument about Cygwin.  And yet, despite the free availability of top-quality VM technology, Cygwin continues to thrive.

UfW won’t fill 100% of the use cases of Cygwin from day 1, but for a lot of cases, the two will be interchangeable, so that the choice between them comes down to some practical consideration.  setup.exe vs Windows Store, Ubuntu package repo size vs Cygwin package repo size, native app speed vs the Cygwin DLL POSIX emulation speed hit, native Windows interaction vs siloed subsystems, etc.

>> I expect it to be quite usable in a matter of months.
> 
> I wouldn't be so hasty. If there's no interfacing between subsystems, it is as
> useful as running a VM. Read: useless crap, when it is going to usability.

Re: “useless”

“You keep using that word.  I do not think it means what you think it means.”

  — Inigo Montoya

>>> I just hope it does not interfere too much with my Cygwin setup
> 
>> UfW will be completely independent of Cygwin.
>> More’s the pity, because it means you’ll be incentivized to choose one or
>> the other, likely to Cygwin’s net detriment.
> 
> Since it will be independent of Windows as well as Cygwin, the choice is a
> nobrainer.

If that is your decision for yourself, that’s perfectly fine.  However, I predict that a whole lot of people will find uses for this technology, thereby making it “useful,” by definition.

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019