delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 8 Mar 2006 17:20:17 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: partition size incorrectly reported |
Message-ID: | <20060308162017.GV3184@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1ACB95D81B24969895E72CC1 AT red-2> <20060308125503 DOT GR3184 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
In-Reply-To: | <20060308125503.GR3184@calimero.vinschen.de> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
On Mar 8 13:55, Corinna Vinschen wrote: > On Mar 8 12:07, Roger Fishwick wrote: > > $ df -h > > Filesystem Size Used Avail Use% Mounted on > > f:\cygwin\bin 500M -64Z 0 100% /usr/bin > > f:\cygwin\lib 500M -64Z 0 100% /usr/lib > > f:\cygwin 500M -64Z 0 100% / > > c: 4.1G 3.3G 756M 82% /cygdrive/c > > d: 579M 579M 0 100% /cygdrive/d > > e: 500M -64Z 463M 101% /cygdrive/e > > f: 500M -64Z 0 100% /cygdrive/f > > h: 68G 41G 28G 60% /cygdrive/h > > j: 4.0G 3.9G 125M 97% /cygdrive/j > > l: 102G 57G 46G 56% /cygdrive/l > > o: 68G 68G 331M 100% /cygdrive/o > > q: 56G 11G 46G 19% /cygdrive/q > > z: 1.4T 105G 1.3T 8% /cygdrive/z > > Looks like you have quotas activated on drive f: > > Cygwin can nothing do about that. Maybe df can by taking quotas into > account. Eric? Ok, after some mulling over MSDN and other dubious sources of information, I think I found a way to overcome the problem of active enforcing quotas. There's a new DeviceIoControl call which has been added since Win2K. It allows to get the size information of a volume without getting the information filtered through the quota mechanism. So, with the patch I just applied to Cygwin, you should always get the real size of a volume, not the crippled size which is a result of your quota. Please test the next developers snapshot from http://cygwin.com/snapshots/ Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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 |