delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/06/11:06:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: localhost.localdomain: ronald set sender to blytkerchan AT users DOT sourceforge DOT net using -f
Date: Wed, 6 Aug 2003 17:22:54 +0200
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
Subject: Re: Cygwin 1.3.22-1 shows wrong disk space (df)
Message-ID: <20030806152254.GA18441@linux_rln.harvest>
Reply-To: cygwin AT cygwin DOT com
References: <600B91D5E4B8D211A58C00902724252C01BC02B5 AT piramida DOT hermes DOT si>
Mime-Version: 1.0
In-Reply-To: <600B91D5E4B8D211A58C00902724252C01BC02B5@piramida.hermes.si>
User-Agent: Mutt/1.4i
X-Disclaimer: I had nothing to do with it - I swear!
X-loop: linux_rln.harvest

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 DOT balazic AT hermes DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019