1.5.24: C: not mounted after upgrade; D: mounts fine

Jan Moesen cygwin=cygwin.com@moesen.nu
Thu Jun 28 08:56:00 GMT 2007


I have upgraded my Cygwin version from 2006/01 to the 1.5.24 last week, 
and now have trouble with mounting my system drive.

I had changed the mount prefix (long before the upgrade) to /mnt instead 
of /cygdrive. Now when I type "cd /mnt/c/<TAB><TAB>" using Bash to 
autocomplete, nothing shows up. It does work for "cd /mnt/d/<TAB><TAB>".

Similarly, when I go to /mnt/c and do an "ls -alF", all it shows are "." 
and "..". For /mnt/d, it shows all files and directories. I tried 
"chm{mod,own,grp} --reference=d c" in /mnt in the hope that that would 
fix it, but it did not. Here is the output of "ls -alF /mnt" and "ls 
-alF /mnt/c" (note the error):

$ ls -alF /mnt
total 0
dr-xr-xr-x   1   0              0 0 Jan  1  1970 ./
drwxrwx---+ 12 MOJ Administrators 0 Apr  2 10:32 ../
drwxrwxrwx+ 15 MOJ mkgroup        0 Jun 27 08:23 c/
drwxrwxrwx+  8 MOJ mkgroup        0 Jun 22 15:25 d/

$ ls -alF
ls: reading directory .: No such file or directory
total 0
drwxrwxrwx+ 15 MOJ mkgroup 0 Jun 27 08:23 ./
dr-xr-xr-x   1   0       0 0 Jan  1  1970 ../

When I try another program, e.g. pico, to browse the directory tree, 
/mnt/c also seems empty.

Despite all that, it does actually still "kind of" work: I can just type 
"cd /mnt/c/windows" and it will go to C:\WINDOWS, where ls works fine 
and whatnot. Everything in C:\ is *accessible* throught /mnt/c, but not 
*visible*.

Both C: and D: are NTFS partitions of one disk. I have attached the 
output of cygcheck.

I have checked all the usual susp^H^H^Hources, but could not find the 
exact problem or a solution. ".: No such file or directory" does show up 
a few times, but it seems to be a different problem. If anyone has some 
sheddable light on this, I would be most happy.

Thank you for reading,

Jan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20070628-cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070628/bfb30397/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list