This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Cygwin 1.3.22-1 shows wrong disk space (df)
- From: Ronald Landheer-Cieslak <blytkerchan at users dot sourceforge dot net>
- To: David Balazic <david dot balazic at hermes dot si>
- Cc: cygwin at cygwin dot com
- Date: Wed, 6 Aug 2003 17:22:54 +0200
- Subject: Re: Cygwin 1.3.22-1 shows wrong disk space (df)
- References: <600B91D5E4B8D211A58C00902724252C01BC02B5@piramida.hermes.si>
- Reply-to: cygwin at cygwin dot com
523132928 / 1024 = 510880 - which is what is reported for C by df - looks OK.
As for data being mounted from elsewhere - is it mounted using Cygwin's mount?
(I doubt it, but attaching the cygcheck output as per
http://cygwin.com/problems.html would remove doubts)
Whether or not df should have seen c:\data is not on c: is another matter if
it's not a cygwin mount: I don't know how df should look for that possibility -
or whether it should look for it as it is probably a small corner case..
Hmm.. this looks like a PTC situation..
rlc
On Wed, Aug 06, 2003 at 04:46:26PM +0200, David Balazic wrote:
> $ 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/
--
Bones: "The man's DEAD, Jim!"
--
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/