[php-src] Issue #8048: disk_*_space uses statvfs on macOS and it returns inaccruate results for some filesystems
| From: | risner | Date: | Sun, 06 Feb 2022 21:38:37 +0000 |
| Subject: | [php-src] Issue #8048: disk_*_space uses statvfs on macOS and it returns inaccruate results for some filesystems | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239518@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8048
Comment Author: risner
Additionally, on FreeBSD there is a standards note:
STANDARDS
The statvfs() and fstatvfs() functions conform to IEEE Std 1003.1-2001
(“POSIX.1”). **As standardized, portable applications cannot depend on
these functions returning any valid information at all.** This
implementation attempts to provide as much useful information as is
provided by the underlying file system, subject to the limitations of the
specified data types.