This routine displays information on a file system such as its type, the amount of disk space occupied, the total disk space and the number of inodes. It tries syscall(SYS_statfs) and syscall(SYS_statvfs) in several ways. If all fails, it croaks.

WWW: http://search.cpan.org/dist/Filesys-DiskSpace/
