X-Recipient: archive-cygwin@delorie.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=SZ6OnpG/EkePyLEbr7hU6wpdHZR7HJN/0dmSaYJ/195
	OPAbVkcCWRSyUPdZVWzFxQ5ZmbqGlqWA/b7Ihh9rZxr0CCoTXn5OITIZTkb4f0Sz
	Ie6zwGTiDPHbi5r3SBV9li18KEz6hVrCVCM/a0wnSD3LPZlqyPE6C2ebEJxgIQ0U
	=
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=CARcj0A6/cjBsG+b++1LTQO+/us=; b=f6IsGlLAX6NfM23K7
	MoLMI7d+Ics1ElhljKpsBDcnreBgDEWIggf+k0RaXNB5lVCCMzgSk6FRNikzn4/Q
	nALYRkawpLIPkKHGst3RVxUWB83T/8yELLetTBG4tEJy+DpMOfLseLpq8NULIaUX
	RV9c/ijcGqUEd2oTcMX3VMa5m0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <548051A3.9030203@tlinx.org>
Date: Thu, 04 Dec 2014 04:20:51 -0800
From: Linda Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: RFC: 1.7.33 problem with user's home directory
References: <20141110205216.GJ2782@calimero.vinschen.de>   <0B8D23F7-0258-472D-BF38-860402FD3CDC@etr-usa.com>  <20141111101821.GO2782@calimero.vinschen.de>  <loom.20141111T112847-576@post.gmane.org>  <20141111111437.GB28012@calimero.vinschen.de>  <20141126205658.GA9157@calimero.vinschen.de>  <20141127170042.GE3810@calimero.vinschen.de>  <8610043342.20141128150810@yandex.ru>  <20141128124814.GM3810@calimero.vinschen.de> <5354135.20141128190818@yandex.ru>  <20141128163305.GN3810@calimero.vinschen.de>  <1601998502.20141129012136@yandex.ru>  <CABa6CEkyyae6GGxVSZ6MBP=-d_uq+Uu9qTZEtZfdVHa7KwOs=g@mail.gmail.com>  <5710377370.20141202082928@yandex.ru>  <CABa6CEnWihyzxbwydndnLhg9aAfok0iQE7MX+FaMaJ4ewmxCPQ@mail.gmail.com> <352663012.20141203231050@yandex.ru>
In-Reply-To: <352663012.20141203231050@yandex.ru>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Andrey Repin wrote:
> Greetings, cyg Simple!
>>>> Don't forget that CMD will not create a second connection to a
>>>> \\host\share if Cygwin already has one open.
>>> What do you mean by that?
> 
>> $ cd //somehost/someshare
>> $ cmd /c start cmd
> 
>> cmd will complain about UNC paths and start in %WINDIR% instead.
----
Try it the other way around.  You'll get the same result.

It has nothing to do with cygwin opening it first.  It has
to do with cmd not handling a "\\network\share" style address.

MS was too lazy to deal with command.com's "1-CurDir / drive"
scenario that is embedded in the Win32 interface.  If you cd to
//host/<currentdir>, //host isn't a drive letter.

So what happens when the user uses an absolute path?  "/tmp"...
where is that /tmp?   Ends up at the root of each drive, but on
a UNC-based-net-connection?  Undefined.  So cmd.exe can't be used
on a UNC-based path, only on DOS compatible (drive letter
assummed) based-path.




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

