| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <440ED903.7000605@byu.net> |
| Date: | Wed, 08 Mar 2006 06:15:47 -0700 |
| From: | Eric Blake <ebb9 AT byu DOT net> |
| User-Agent: | Thunderbird 1.5 (Windows/20051201) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com, roger AT giantuk DOT com |
| Subject: | Re: partition size incorrectly reported |
| References: | <1ACB95D81B24969895E72CC1 AT red-2> <20060308125503 DOT GR3184 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20060308125503.GR3184@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
-----BEGIN PGP SIGNED MESSAGE-----
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 ebb9 AT byu DOT net
volunteer cygwin coreutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEDtkD84KuGfSFAYARAh+uAKCwUM7RkTQfAa5Gep3wRCTo7qrt7ACaA2KZ
r+/DUuNbpoKM4TEHPMU5XDI=
=qeXN
-----END PGP SIGNATURE-----
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |