This is the mail archive of the
mailing list for the Cygwin project.
Re: partition size incorrectly reported
-----BEGIN PGP SIGNED MESSAGE-----
According to Corinna Vinschen on 3/8/2006 5:55 AM:
>> Filesystem Size Used Avail Use% Mounted on
>> f:\cygwin\bin 500M -64Z 0 100% /usr/bin
The display of negative disk usage (64-bit wraparound) is already fixed in
coreutils CVS, and stems from the fact that the OS is reporting more
available than total blocks in statfs/statvfs. I'm a bit surprised that
it wasn't backported to coreutils 5.94, since the patch was made to CVS
head before 5.94 was released, but oh well (I'll see whether it is easy to
backport myself when I roll coreutils-5.94-5 after cygwin 1.5.20 comes out).
> Looks like you have quotas activated on drive f:
> Cygwin can nothing do about that. Maybe df can by taking quotas into
> account. Eric?
Not really. SUSv3/POSIX specify df without allowing it to take quotas
into account - so it is really space available on the file system, not
space available to the current user within the file system. However, you
may want to propose a GNU extension that adds a new option to df which
takes quotas into account; if so, raise the question on the
bug-coreutils<AT>gnu<DOT>org mailing list. But remember that reading disk
quotas isn't very portable, so it may be a difficult task to actually
provide a worthwhile patch along those lines.
Life is short - so eat dessert first!
Eric Blake firstname.lastname@example.org
volunteer cygwin coreutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html