[Mono-dev] [PATCH] Support for AvailableFreeSpace, TotalFreeSpace, TotalSize in System.IO.DriveInfo

Andreas Färber andreas.faerber at web.de
Thu Jan 8 16:07:35 EST 2009


Am 08.01.2009 um 10:49 schrieb Christian Prochnow:

> statvfs() is a POSIX-conform
> call, it should be present on mostly every UNIX system.

It is part of the XSI extension, i.e. non-mandatory.
Cf. http://www.opengroup.org/onlinepubs/009695399/functions/statvfs.html


> Even if not, i can add a configure check for statvfs() and fall back  
> to
> old behaviour of returning int64.MaxValue when statvfs() is not  
> present.

More information about the Mono-devel-list mailing list