delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/21/02:05:45

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=t0hGOIp3mD753PpD
HLZd3CeeROhu+rmbRvkZ9UZjTmHkllZIbKkOaScN/dcG8r7nHHnjGEf5DkCao/Oe
LI8J5jwweTfmXUypY/O2H7xrZKzujJ++WoMpRtIMeAilFizZBzK9brUhxMvkzgWM
cnCXUj/0N2u0jvXvZwb6emVG6Ns=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=xhIt/GDG1jNbUYH1VafAUt
1grVw=; b=KMKKY385Xb8Qqkg8iKYLk3sVmoO+wZMv8DTq58qaQImMJj/hsehUcy
IVketuoETzrM5MSdFuI8bTodytwRvo6B2RngGfAYk14g/lsZ50spIJ7PlXsDu5US
3RJPUcTHd8/zwWr0kcWvYvwRG20v9aGV3sbmeo2huYLqwKro2ZG8w=
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: Yes, score=5.7 required=5.0 tests=AWL,BAYES_99,BAYES_999,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 21 Sep 2015 08:56:31 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1536508568.20150921085631@yandex.ru>
To: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>, cygwin AT cygwin DOT com
Subject: Re: Error accessing mapped drive >2TB?
In-Reply-To: <loom.20150921T061240-314@post.gmane.org>
References: <CA+2x6-L_pqdN6PHE0c15hcmrmB66Z75Hz95cH+dbcn4yXuVZNg AT mail DOT gmail DOT com> <712A87EA-64C7-4033-BE7F-39C8C8D527EB AT etr-usa DOT com> <110723294 DOT 20150915064630 AT yandex DOT ru> <CA+2x6-LtkKk15AOavG5pUD+YwcKKa=TKU1nnHwEy45LKwLkFJg AT mail DOT gmail DOT com> <0C37A612-5E78-48A8-9503-F3A34129BC7B AT etr-usa DOT com> <CA+2x6-L+dr92-O1b2bnqnaCxOzZ9GCLv1ekXEPcALkuYvFp_yQ AT mail DOT gmail DOT com> <B35CA86C-3AFD-424A-AFE7-7A2B4FE0B421 AT etr-usa DOT com> <loom DOT 20150921T061240-314 AT post DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Brian Inglis!

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

Not necessarily. This is why using the backticks is discouraged.
They have weird escaping rules and generally non-obvious.
Stick to $( ... ).

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

Are you sure you're looking from the same user session?
If you start mintty/cmd elevated, you won't see drives mapped in Explorer
(non-elevated).

For me, everything works as expected. Drives mapped in batch file on system
start visible in Explorer without an issue.


-- 
With best regards,
Andrey Repin
Monday, September 21, 2015 08:53:08

Sorry for my terrible english...


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