Win98: GetDiskFreeSpace fails on shares

Corinna Vinschen
Thu Jun 16 14:27:00 GMT 2005

On Jun 16 15:21, Dave Korn wrote:
> >From: Corinna Vinschen
> > Right, the idea being (right now) that data is missing to fill out the
> > statvfs datastructure.
>   Well, we do have the number of bytes free, which is the main thing to get
> right.  And SUS gives us wriggle-room:
> "It is unspecified whether all members of the statvfs structure have
> meaningful values on all file systems"
>   So perhaps we could just choose a fake block size to report so long as the
> product of blocks*size gives the right result?

Sure, why not, as long as it's only done in case GetDiskFreeSpace returns
FALSE.  Are you perhaps contemplating the idea to prepare a patch (hint,
hint, hippo)?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

More information about the Cygwin-developers mailing list