du from / say du: cannot change to directory .: No such file or d irectory

Parker, Ron rdparker@butlermfg.com
Wed Jun 7 15:20:00 GMT 2000


> 603/> du
> du: cannot change to directory .: No such file or directory
> 606/> type du
> du is hashed (/usr/bin/du)
> 607/> ls -l /bin/du
> -rwxrwxrwx   1 administ None        24064 Jan 17 21:17 /bin/du*
> 608/> ls -ld .
> drwxrwxrwt  48 administ Administ    45056 Jun  6 20:19 ./
> 
> But I can in the d: (which probably does not look like / )
> 609/> cd /cygdrive/d
> 610/cygdrive/d> ls -ld .
> drwxrwxrwx  15 administ Administ    12288 Jun  6 19:43 ./
> 
> I was able to partly workaround this by saying du *
> but that does not give me the grand total.

This problem is a result of installing to C:\.  They bug that caused this in
cygwin1.dll has been fixed in the 20000601 snapshot that Chris has been
asking people to test.

I happened to have an NT machine that I was about to wipeout, so I installed
to C:\, reproduced your problem, updated to the snapshot, and watched the
error disappear.



More information about the Cygwin mailing list