X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_KC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D026588.8090901@redhat.com> Date: Fri, 10 Dec 2010 10:38:16 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.7.7: upper limit to df reported available size? References: <33F9E32CDB0917428758DD583E747CC80DC11C1C AT OntExch3 DOT ontario DOT int DOT ec DOT gc DOT ca> <20101210165930 DOT GA5210 AT calimero DOT vinschen DOT de> <20101210172154 DOT GI25347 AT calimero DOT vinschen DOT de> In-Reply-To: <20101210172154.GI25347@calimero.vinschen.de> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB0154AB98888A4999F807A7A" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 --------------enigB0154AB98888A4999F807A7A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/10/2010 10:21 AM, Corinna Vinschen wrote: > On Dec 10 17:59, Corinna Vinschen wrote: >> On Dec 10 11:20, Elford,Andrew [Ontario] wrote: >>> $ df -T /cygdrive/f/file >>> Filesystem Type 1K-blocks Used Available Use% Mounted on >>> C: ntfs 83886076 31717608 52168468 38% /cygdrive/c >>> F: ntfs 11717703676 72036296 -5534201804 - /cygdrive/f >>> L: ntfs 6143999996 883063196 5260936800 15% /cygdrive/l >> [...] >> Hmm. OTOH, seeing the size of your FS, I'm also wondering if we should >> make the algorithm a bit more foolproof for the future by manipulating >> the value of f_frsize if the TotalAllocationUnits returned by Windows >> is > sizeof (fsblkcnt_t). >=20 > No, scratch that. It wouldn't work well. I guess what we really need > is to redefine fsblkcnt_t to become a 64 bit type. Oh well, this > requires another backward compatibility hack, just like back when we > switched to 64 bit off_t (Cygwin 1.5). Let's do it at the same time as we change sigset_t and time_t to 64-bits (with knock-on effects to struct stat, among others). In other words, all good changes, but certainly something that will take a lot of planning to pull off in one go. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigB0154AB98888A4999F807A7A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNAmWIAAoJEKeha0olJ0NqKFQH+QGntU4PYNe/FCvkyhkTrKm2 e7MVNT2TSEqhoTX45zq87zUEicB6CdcuUmksWjMPxrFH8UPRTnFKduE1Wi4SFUV6 /3OFnIHFPwndTAoPDfdoGUvZgjhThP2N31vB023zxsbLxq7FBpJJhXIu76+6+kaX E84dBC1AkpkBkFL8RN8cJmlrh/E2ozfh7IYGHcxDakOMbhlqZelnPA77dZ7OY/C7 e4itw1H3RVFS2WF4pUHI6qk1VYqLCGVk71jOniPWjz95qhuhn82XI124JApUHsXf rmKgfdU9f6NoJ39xAZb+rEKvWV+OPkS8xX76623VJrpX81BPnL9MRFTL0nY9l5M= =r8BP -----END PGP SIGNATURE----- --------------enigB0154AB98888A4999F807A7A--