This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: partition size incorrectly reported

Hash: SHA1

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   
volunteer cygwin coreutils maintainer
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]