This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Strange cygdrive problem


I upgraded to the latest cygwin version yesterday and since then I have a
problem I never encountered before and it may have to do with the Netware
file system.

Here is what mount shows:

C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
F: on /cygdrive/f type nwfs (binary,posix=0,user,noumount,auto)
G: on /cygdrive/g type nwfs (binary,posix=0,user,noumount,auto)
M: on /cygdrive/m type ntfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nwfs (binary,posix=0,user,noumount,auto)
Y: on /cygdrive/y type nwfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type nwfs (binary,posix=0,user,noumount,auto)

The problem I am having is with the F, G, P, Y, and Z drives which are of
nwfs type. C and M which are ntfs are fine.

ls -l in cydrive shows the following:

total 0
drwxrwxr-x+ 1 Administrators SYSTEM       0 2010-01-04 11:46 c
-rwxr-xr-x  1 Schwar         Domain Users 0 2009-04-22 15:22 f
-rwxr-xr-x  1 Schwar         Domain Users 0 2009-04-22 15:22 g
drwx------+ 1 Administrators ????????     0 2009-10-12 13:28 m
-rwxr-xr-x  1 Schwar         Domain Users 0 2009-04-22 15:22 p
-rwxr-xr-x  1 Schwar         Domain Users 0 2009-04-22 15:22 y
-rwxr-xr-x  1 Schwar         Domain Users 0 2009-04-22 15:22 z

As you can see the nwfs mounts do not show up as a directory (d) is
missing.

If I cd into one of the problem directories, lets say "cd f":

"ls" generates the following error: "ls: cannot open directory .: No such
file or directory"

"ls ." just shows "."

However "ls -l" works fine and lists the files in the directory.

The same problem occurs also in all sub-directories of these mounts.

I also found out that the behavior changes as I change the LANG setting.
For example setting LANG=en_US causes even "ls -l" to fail in these mounts
but setting to "C.UTF-8" or "en_US.UTF-8" allows "ls -l" to work (but still
not "ls").

Any ideas what is going on and how to fix it?

Thanks,
Avi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]