X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com From: Achim Gratz Subject: Re: Why does df fail to stat CIFS shares? Date: Wed, 27 Aug 2014 15:06:02 +0000 (UTC) Lines: 16 Message-ID: References: <20140627143626 DOT GA9220 AT F1S712WWS> <20140703094152 DOT GB1803 AT calimero DOT vinschen DOT de> <20140826124557 DOT GB5740 AT calimero DOT vinschen DOT 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 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