#46991 [Opn->Csd]: stat() "blocks" is in 512B units, not "blksize" units
| From: | vrana@php.net | Date: | Fri, 20 Nov 2009 11:04:26 +0000 |
| Subject: | #46991 [Opn->Csd]: stat() "blocks" is in 512B units, not "blksize" units | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3272@lists.php.net to get a copy of this message | ||
ID: 46991
Updated by: vrana@php.net
Reported By: chead at telus dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-01-02 10:00:35] chead at telus dot net
Description:
------------
The stat() functions "blocks" element is the number of 512-byte blocks
used by the file, NOT the number of filesystem blocks. The "blksize"
element contains the size of a filesystem block. The number 512 should
appear somewhere on that documentation page, and NOT just as a user
comment - right in the table of elements.
Consider, for example, changing "number of blocks allocated **" to
"number of 512-byte blocks allocated **"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46991&edit=1