Cygwin 1.3.22-1 shows wrong disk space (df)
David Balazic
david.balazic@hermes.si
Wed Aug 6 14:50:00 GMT 2003
$ pwd
/cygdrive/c/data/mp3
$ df .
Filesystem 1k-blocks Used Available Use% Mounted on
c: 4096540 3585660 510880 88% /cygdrive/c
$ df
Filesystem 1k-blocks Used Available Use% Mounted on
x:\cygwin\bin 4096540 2477840 1618700 61% /usr/bin
x:\cygwin\lib 4096540 2477840 1618700 61% /usr/lib
x:\cygwin 4096540 2477840 1618700 61% /
c: 4096540 3585660 510880 88% /cygdrive/c
d: 38909952 10308608 28601344 27% /cygdrive/d
k: 28730 28730 0 100% /cygdrive/k
m: 1024000 512000 512000 50% /cygdrive/m
o: 1397622 341954 1055668 25% /cygdrive/o
x: 4096540 2477840 1618700 61% /cygdrive/x
z: 1024000 512000 512000 50% /cygdrive/z
A different volume is mounted on C:\data
df reports the wrong name and the wrong amount of free and used space.
DIR in CMD.exe shows the correct values for free space :
C:\data>dir m*
Volume in drive C is w2kmain
Volume Serial Number is 84FF-F54B
Directory of C:\data
23.01.2003 12:31 <DIR> mp3
0 File(s) 0 bytes
1 Dir(s) 905.502.720 bytes free
C:\data>cd ..
C:\>dir m*
Volume in drive C is w2kmain
Volume Serial Number is 84FF-F54B
Directory of C:\
20.05.2003 17:13 <DIR> mnt
01.08.2003 10:16 <DIR> mvfslogs
15.05.2003 15:00 <DIR> myserver
0 File(s) 0 bytes
3 Dir(s) 523.132.928 bytes free
C:\>
----------------------------------------------------------------------------
-----------
David Balazic mailto:david.balazic@hermes.si
HERMES Softlab http://www.hermes-softlab.com
Zolajeva 30 Phone: +386 2 450 8851
SI-2000 Maribor
Slovenija
----------------------------------------------------------------------------
-----------
"Be excellent to each other." -
Bill S. Preston, Esq. & "Ted" Theodore Logan
----------------------------------------------------------------------------
-----------
--
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