Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <600B91D5E4B8D211A58C00902724252C01BC02B6@piramida.hermes.si> From: David Balazic To: "'cygwin AT cygwin DOT com'" Subject: RE: Cygwin 1.3.22-1 shows wrong disk space (df) Date: Wed, 6 Aug 2003 17:16:01 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C35C2D.A5A87430" X-Virus-Scanned: by amavisd-new at hermes.si Note-from-DJ: This may be spam ------_=_NextPart_000_01C35C2D.A5A87430 Content-Type: text/plain; charset="iso-8859-1" Oh yeah, sorry. Here is the cygcheck -s -v -r attached. <> The C:\data is a native win2000 mount. The fact is that df reports the wrong value for free space. Some programs check for free space before writing a file and they may decide wrongly if the free space is not reported correctly. I don't know if df and other programs use the same method for determining the free space. ( if df uses statfs(".",buffer) , then statfs is returning the wrong value for free space ) Regards, David > ---------- > From: Ronald > Landheer-Cieslak[SMTP:blytkerchan AT users DOT sourceforge DOT net] > Reply To: cygwin AT cygwin DOT com > Sent: 6. avgust 2003 17:22 > To: David Balazic > Cc: cygwin AT cygwin DOT com > Subject: Re: Cygwin 1.3.22-1 shows wrong disk space (df) > > 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 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 mnt > > 01.08.2003 10:16 mvfslogs > > 15.05.2003 15:00 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!" > ------_=_NextPart_000_01C35C2D.A5A87430 Content-Type: application/octet-stream; name="cygcheck.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cygcheck.out" Cygwin Win95/NT Configuration Diagnostics Current System Time: Wed Aug 06 17:06:47 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: x:\cygwin\usr\local\bin x:\cygwin\bin x:\cygwin\bin x:\Perl\bin\ c:\Inprise\vbroker\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\Program Files\Support Tools\ c:\smallApps\wget x:\Program Files\Hummingbird\Connectivity\7.10\Accessories\ x:\Program Files\Hummingbird\Connectivity\7.10\NFSClient x:\Program Files\Rational\ClearCase\bin c:\Program Files\UltraEdit c:\data\stein\progs\apache-ant-1.5.2\bin x:\cygwin\bin\id.exe output (nontsec) UID: 11135(stein) GID: 11115(adchsl) 11115(adchsl) x:\cygwin\bin\id.exe output (ntsec) UID: 11135(stein) GID: 11115(adchsl) 545(Users) 11115(adchsl) =20 10513(Domain Users) 11790(iis_itomb) 11035(lab) SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME =3D `x:\cygwin\home\stein' MAKE_MODE =3D `unix' PWD =3D `/cygdrive/c/data/mp3' USER =3D `stein' ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users' ANT_HOME =3D `C:\data\stein\progs\apache-ant-1.5.2' APPDATA =3D `C:\Documents and Settings\stein\Application Data' CLASSPATH =3D = `.;C:\data\stein\progs\jakarta-log4j-1.2.8\dist\lib\log4j-1.2.8.jar' COMMONPROGRAMFILES =3D `C:\Program Files\Common Files' COMPUTERNAME =3D `JUICE' COMSPEC =3D `C:\WINNT\system32\cmd.exe' CVS_RSH =3D `/bin/ssh' HOMEDRIVE =3D `C:' HOMEPATH =3D `\' HOSTNAME =3D `juice' JAVA_HOME =3D `x:\j2sdk1.4.1_03' LOG4J_HOME =3D `C:\data\stein\progs\jakarta-log4j-1.2.8' LOGONSERVER =3D `\\JADRAN' NUMBER_OF_PROCESSORS =3D `1' OLDPWD =3D `/cygdrive/c/data' OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;' OS =3D `Windows_NT' PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE =3D `x86' PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 8 Stepping 6, = GenuineIntel' PROCESSOR_LEVEL =3D `6' PROCESSOR_REVISION =3D `0806' PROGRAMFILES =3D `C:\Program Files' PROMPT =3D `$P$G' PS1 =3D `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SHLVL =3D `1' SYSTEMDRIVE =3D `C:' SYSTEMROOT =3D `C:\WINNT' TEMP =3D `c:\DOCUME~1\stein\LOCALS~1\Temp' TERM =3D `cygwin' TMP =3D `c:\DOCUME~1\stein\LOCALS~1\Temp' USERDOMAIN =3D `MARIBOR' USERNAME =3D `stein' USERPROFILE =3D `C:\Documents and Settings\stein' WINDIR =3D `C:\WINNT' _ =3D `/usr/bin/cygcheck.exe' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) =3D `/cygdrive' cygdrive flags =3D 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) =3D `/cygdrive' cygdrive flags =3D 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) =3D `x:\cygwin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) =3D `x:\cygwin/bin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) =3D `x:\cygwin/lib' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A =20 c: hd NTFS 4000Mb 88% CP CS UN PA FC w2kmain d: net NTFS 37998Mb 27% CP CS PA mp3 k: cd CDFS 28Mb 100% CS UN VFSDRGE m: net MVFS 1000Mb 50% CP CS CCase o: hd NTFS 1364Mb 25% CP CS UN PA FC temp build x: hd NTFS 4000Mb 61% CP CS UN PA FC temp1 z: net MVFS 1000Mb 50% CP CS CCase . /cygdrive user textmode,cygdrive x:\cygwin / system binmode x:\cygwin/bin /usr/bin system binmode x:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: x:\cygwin\bin\awk.exe Found: x:\cygwin\bin\bash.exe Found: x:\cygwin\bin\cat.exe Found: x:\Program Files\Hummingbird\Connectivity\7.10\NFSClient\cat.exe Warning: x:\cygwin\bin\cat.exe hides x:\Program = Files\Hummingbird\Connectivity\7.10\NFSClient\cat.exe Found: x:\cygwin\bin\cp.exe Not Found: cpp (good!) Found: x:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: x:\cygwin\bin\grep.exe Not Found: ld Found: x:\cygwin\bin\ls.exe Found: x:\Program Files\Hummingbird\Connectivity\7.10\NFSClient\ls.exe Warning: x:\cygwin\bin\ls.exe hides x:\Program = Files\Hummingbird\Connectivity\7.10\NFSClient\ls.exe Not Found: make Found: x:\cygwin\bin\mv.exe Found: x:\cygwin\bin\rm.exe Found: x:\cygwin\bin\sed.exe Found: x:\cygwin\bin\sh.exe Found: x:\cygwin\bin\tar.exe 58k 2002/05/07 x:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygbz2-1.dll" v0.0 ts=3D2002/5/7 8:33 45k 2001/04/25 x:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform5.dll" v0.0 ts=3D2001/4/25 7:28 35k 2002/01/09 x:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform6.dll" v0.0 ts=3D2002/1/9 7:03 76k 2003/03/09 x:\cygwin\bin\cygform7.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform7.dll" v0.0 ts=3D2003/3/9 21:51 28k 2003/07/20 x:\cygwin\bin\cyggdbm-3.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyggdbm-3.dll" v0.0 ts=3D2003/7/20 9:58 30k 2003/08/03 x:\cygwin\bin\cyggdbm-4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyggdbm-4.dll" v0.0 ts=3D2003/8/3 18:17 19k 2003/03/22 x:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyggdbm.dll" v0.0 ts=3D2002/2/20 4:05 15k 2003/07/20 x:\cygwin\bin\cyggdbm_compat-3.dll - os=3D4.0 = img=3D1.0 sys=3D4.0 "cyggdbm_compat-3.dll" v0.0 ts=3D2003/7/20 10:00 15k 2003/08/03 x:\cygwin\bin\cyggdbm_compat-4.dll - os=3D4.0 = img=3D1.0 sys=3D4.0 "cyggdbm_compat-4.dll" v0.0 ts=3D2003/8/3 18:19 17k 2001/06/28 x:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyghistory4.dll" v0.0 ts=3D2001/1/7 5:34 20k 2002/10/10 x:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyghistory5.dll" v0.0 ts=3D2002/10/10 19:28 945k 2003/06/18 x:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygiconv-2.dll" v0.0 ts=3D2003/6/18 5:08 22k 2001/12/13 x:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygintl-1.dll" v0.0 ts=3D2001/12/13 10:28 28k 2002/09/20 x:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygintl-2.dll" v0.0 ts=3D2002/9/20 5:13 26k 2001/04/25 x:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu5.dll" v0.0 ts=3D2001/4/25 7:27 20k 2002/01/09 x:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu6.dll" v0.0 ts=3D2002/1/9 7:03 48k 2003/03/09 x:\cygwin\bin\cygmenu7.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu7.dll" v0.0 ts=3D2003/3/9 21:51 156k 2001/04/25 x:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses++5.dll" v0.0 ts=3D2001/4/25 7:29 175k 2002/01/09 x:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses++6.dll" v0.0 ts=3D2002/1/9 7:03 226k 2001/04/25 x:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses5.dll" v0.0 ts=3D2001/4/25 7:17 202k 2002/01/09 x:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses6.dll" v0.0 ts=3D2002/1/9 7:03 284k 2003/03/09 x:\cygwin\bin\cygncurses7.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses7.dll" v0.0 ts=3D2003/3/9 21:50 15k 2001/04/25 x:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel5.dll" v0.0 ts=3D2001/4/25 7:27 12k 2002/01/09 x:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel6.dll" v0.0 ts=3D2002/1/9 7:03 31k 2003/03/09 x:\cygwin\bin\cygpanel7.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel7.dll" v0.0 ts=3D2003/3/9 21:50 63k 2003/04/11 x:\cygwin\bin\cygpcre.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpcre.dll" v0.0 ts=3D2003/4/11 10:31 61k 2003/04/11 x:\cygwin\bin\cygpcreposix.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpcreposix.dll" v0.0 ts=3D2003/4/11 10:31 108k 2001/06/28 x:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline4.dll" v0.0 ts=3D2001/1/7 5:34 127k 2002/10/10 x:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline5.dll" v0.0 ts=3D2002/10/10 19:28 50k 2002/03/12 x:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygz.dll" v0.0 ts=3D2002/3/12 5:38 948k 2003/03/18 x:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygwin1.dll" v0.0 ts=3D2003/3/18 15:20 Cygwin DLL version info: DLL version: 1.3.22 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 78 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix:=20 Build date: Tue Mar 18 09:20:11 EST 2003 CVS tag: dontuse-21 Shared id: cygwin1S3 Cygwin Package Information Last downloaded files to:=20 Last downloaded files from:=20 Package Version _update-info-dir 00193-1 ash 20020731-1 base-files 1.3-1 base-passwd 1.1-1 bash 2.05b-9 bzip2 1.0.2-2 clear 1.0-1 cpio 2.5-2 cygwin 1.3.22-1 diff 1.0-1 diffutils 2.8.1-1 file 4.03-1 fileutils 4.1-1 findutils 4.1.7-4 gawk 3.1.3-1 gdbm 1.8.3-3 gnupg 1.2.2-1 grep 2.5-1 gzip 1.3.3-4 less 381-1 libbz2_1 1.0.2-2 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-3 libgdbm3 1.8.3-3 libgdbm4 1.8.3-6 libiconv2 1.8-3 libintl1 0.10.40-1 libintl2 0.11.5-1 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-1 libpcre 4.1-1 libreadline4 4.1-2 libreadline5 4.3-2 login 1.9-5 mktemp 1.4-1 ncurses 5.3-1 patch 2.5.8-6 readline 4.3-2 rpm 4.1-1 sed 4.0.7-1 sh-utils 2.0.15-3 tar 1.13.25-1 termcap 20021106-2 terminfo 5.3_20030726-1 texinfo 4.2-4 textutils 2.0.21-1 unzip 5.50-4 which 1.5-1 zip 2.3-4 zlib 1.1.4-1 Use -h to see help about each section ------_=_NextPart_000_01C35C2D.A5A87430 Content-Type: text/plain; charset=us-ascii -- 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/ ------_=_NextPart_000_01C35C2D.A5A87430--