X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=g4Xro8Mt02S6Xi7HAWVFgmdaYOExNfhM3YzvajTumbT1mPAzNBHNo
	5YeEdysZS6kKQfc9XL6NfrhWSEKo4d/sD3fTQsIfD+6BjMjnbT1OxY8Q173/PJsN
	lyMxriOvb2+7CEwnKJ/CzQ/5F1gttHg4JPS6pyTj+UFr1o8p9gFaBw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=XJaev/cz2CNbPXa63QZZfQKCFUU=; b=J/0mwEWdnYzHptsjsVu1ZStBJaB6
	T7JNfTdILSEBI7XvOr1b1y4XZo7VRQ8zLaBG1d2SIBxuoIvUDZKnzkcaiNEJGUE3
	2whyT/LcVs/pJ6QQNbVRk2K6ioCnyhgqT+ktO8oVksYvbo7MijuVSy/we9MaLpi4
	gkyzi2fR58X2zxY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_05,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: Re: Why does df fail to stat CIFS shares?
Date: Wed, 27 Aug 2014 15:06:02 +0000 (UTC)
Lines: 16
Message-ID: <loom.20140827T165747-369@post.gmane.org>
References: <20140627143626.GA9220@F1S712WWS> <20140703094152.GB1803@calimero.vinschen.de> <loom.20140826T110928-929@post.gmane.org> <20140826124557.GB5740@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> The call to NtQueryVolumeInformationFile() in
> fhandler_disk_file::fstatvfs() in fhandler_disk_file.cc (line 737ff),
> fails with STATUS_INVALID_PARAMETER.  This is a NetApp bug, but we may
> be able to workaround it.

The bug (if there is one) is that the driver should return
STATUS_INVALID_INFO_CLASS since it quite obviously doesn't support that info
class request.  Falling back to FileFsSizeINformation does and returns
sensible values for all NetApp volumes.  Since at least all NetApp volumes
here run without quotas anyway, no information loss occurs IIUC.


Regards,
Achim.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

