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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=oszZLvgq4O4451i33Vtwu2RTAwCU6gx/vjEUynXtNqWYBzoziMkSl syGCTF6D0l23qz+lDu65xJ0vCYRiy27eiXX7j1Gx08kSr0s+WXUcGtyr6Eyz9Euh M/5ghLXykm/6B3tY39DleExkSa+dwVH1nqPuGrbZHOjqlcERl+JpAY= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=3xjyMdgRmql4Ll3YuMpwcW40ef0=; b=o8IqJj54CGtZyc4gqrFxJiUbRt0G FHgdI+HYdL5biTyYYD7GCvlmKVvoSQXkwRGdJPJgC1q/wAoS5Sgr8Ct+qdOJQ65K C/FrHQSUAE+k32pKnIgAYC9Elfqos5CPXBgfgbe5heRZXO8Fi4R0N6uLJTHgOBBI MBFQEJe8EEcgqe0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: No, score=-0.0 required=5.0 tests=AWL,BASE64_LENGTH_79_INF,BAYES_50,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Brian Inglis Subject: Re: Error accessing mapped drive >2TB? Date: Mon, 21 Sep 2015 05:22:46 +0000 (UTC) Lines: 1 Message-ID: References: <712A87EA-64C7-4033-BE7F-39C8C8D527EB AT etr-usa DOT com> <110723294 DOT 20150915064630 AT yandex DOT ru> <0C37A612-5E78-48A8-9503-F3A34129BC7B AT etr-usa DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t8L5NHHi019862 Warren Young etr-usa.com> writes: > On Sep 16, 2015, at 7:39 AM, Nem W Schlecht gmail.com> wrote: > > I would think if it was an issue with Mac's SMB implementation, then > > *Windows* would also have some sort of issues with it. But it shows > > up fine on Windows, I would assume it should show fine in Cygwin as > > well. > More than that: Cygwin doesn’t contain an SMB client. (I mean, not at the cygwin1.dll level.) It is just > using what Windows gives it. > That’s why I’m grasping at straws like the path error in the strace output, since the only thing that > makes sense to me is a problem in the way Cygwin is interpreting what it gets from Windows, rather than the > SMB protocol peers doing the wrong thing. > I suppose it could be that Windows Explorer and cygwin1.dll are making different NT kernel syscalls, and > that explains the problem. Lacking a “real” strace on Windows, I’m not sure how to test that. Maybe > Process Monitor could do this? > https://technet.microsoft.com/en-us/sysinternals/bb896645 I remembered using the live site for SysInternals, giving the interesting result: $ cygstart '\\live.sysinternals.com\tools\' # works - opens site in Windows Explorer $ cygpath '\\live.sysinternals.com\tools\' //live.sysinternals.com/tools/ $ ls //live.sysinternals.com/tools/ # works - list contents About_This_Site.txt ctrl2cap.amd.sys* Eula.txt ... $ ls $(cygpath '\\live.sysinternals.com\tools\') # works - list contents About_This_Site.txt ctrl2cap.amd.sys* Eula.txt ... $ ls `cygpath '\\live.sysinternals.com\tools\'` # fails - should be same as above 2 ls: cannot access /cygdrive/c/live.sysinternals.com/tools/: No such file or directory Windows Explorer drive mappings are not visible from cmd or mintty/bash windows, but "net use x: \\live.sysinternals.com\tools" mappings are visible from separate cmd and mintty/bash windows as drive X: or /cygdrive/x, but x:\ is not accessible from Windows Explorer. It does not seem to matter whether the drive mapping is made persistent from either the console or Windows Explorer - it is only visible from whichever type of window interface was used to make the mapping. I have not tested making the mapping persistent, logging out and back in, to see if it makes any difference to visibility: it shouldn't, but with Windows...who knows? Testing was on a standalone non-domain W7 desktop with: Microsoft Windows [Version 6.1.7601] CYGWIN_NT-6.1 ... 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 Cygwin