delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/27/11:07:01

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: <cygwin.cygwin.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
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 <Stromeko AT NexGo DOT 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 DOT GA9220 AT F1S712WWS> <20140703094152 DOT GB1803 AT calimero DOT vinschen DOT de> <loom DOT 20140826T110928-929 AT post DOT gmane DOT org> <20140826124557 DOT GB5740 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019