This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Error accessing mapped drive >2TB?
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>, cygwin at cygwin dot com
- Date: Mon, 21 Sep 2015 08:56:31 +0300
- Subject: Re: Error accessing mapped drive >2TB?
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: cygwin at cygwin dot com
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