This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why does df fail to stat CIFS shares?
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Wed, 27 Aug 2014 15:06:02 +0000 (UTC)
- Subject: Re: Why does df fail to stat CIFS shares?
- Authentication-results: sourceware.org; auth=none
- 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>
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