Why does df fail to stat CIFS shares?

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 27 15:15:00 GMT 2014


On Aug 27 15:06, Achim Gratz wrote:
> 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.

-v, please.  What means "obviously" here?  Did you ask Netapp?

The FileFsFullSizeInformation class is *old*, it has been introduced
with Windows 2000.  Did you test all combinations I asked you for?  Can
you provide detailed results?  It might help to find a working combination.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140827/3e3d41c8/attachment.sig>


More information about the Cygwin mailing list