Network drive issue -- 'no such host or network path'

Stephen Wilkinson 307cdqf02@sneakemail.com
Tue Jun 30 16:27:00 GMT 2009


I've noticed a subtle detail to the original problem -- as I said
in my first post, I can't list the contents drive U which is mapped to a
network
share (and therefore I can't use tab completion to traverse folders, or
synchronise folders with unison etc...). However I've noticed that tab
completion *does* work if I am inside a subdirectory with only a few
small
files.

I installed Cygwin 1.7 and I get exactly the same symptoms (i.e. can't
list
contents of anything but almost empty directories). I've listed the
results at
the bottom of this e-mail.

In searching the web for this problem, I came across this post regarding
problems with CIFS symlinks on a network share:
http://cygwin.com/ml/cygwin/2008-02/msg00086.html
I don't know if that problem has been fixed on 1.7 or whether it could
be
related to my problem.

Here are the results comparing Cygwin 1.5 and 1.7:

On Cygwin 1.5: (I don't know if the time stamp reported by ls are a
useful clue... 1970)
======================================================================
$ uname -r
1.5.25(0.156/4/2)

$ mount
C:\Programs\cygwin\bin on /usr/bin type user (binmode)
C:\Programs\cygwin\lib on /usr/lib type user (binmode)
C:\Programs\cygwin on / type user (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
i: on /cygdrive/i type user (binmode,noumount)
o: on /cygdrive/o type user (binmode,noumount)
p: on /cygdrive/p type user (binmode,noumount)
u: on /cygdrive/u type user (binmode,noumount)

$ ls /cygdrive/u/
ls: reading directory /cygdrive/u/: No such host or network path
total 0
drwxr-xr-x 1 NGGMV1R Domain Users 0 Jun 30 14:31 .
dr-xr-xr-x 1       0            0 0 Jan  1  1970 ..

======================================================================

On Cygwin 1.7:
======================================================================
$ uname -r
1.7.0(0.210/5/3)

$ mount
C:/Temp/cygwin/bin on /usr/bin type user (binmode)
C:/Temp/cygwin/lib on /usr/lib type user (binmode)
C:/Temp/cygwin on / type user (binmode)
C: on /cygdrive/c type user (binmode,noumount)
D: on /cygdrive/d type user (binmode,noumount)
I: on /cygdrive/i type user (binmode,noumount)
O: on /cygdrive/o type user (binmode,noumount)
P: on /cygdrive/p type user (binmode,noumount)
U: on /cygdrive/u type user (binmode,noumount)

$ ls /cygdrive/u/
ls: reading directory /cygdrive/u/: No such file or directory

======================================================================


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



More information about the Cygwin mailing list