This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author liw
Recipients docs@python, liw, r.david.murray
Date 2011-06-16.21:05:55
SpamBayes Score 0.0028074295
Marked as misclassified No
Message-id <1308258356.31.0.134218079649.issue12350@psf.upfronthosting.co.za>
In-reply-to
Content
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html says "A file system-specific preferred I/O block size for this object. In some file system types, this may vary from file to file.", which says essentially the same as the Linux stat(2) manpage from which I copied the extra words.

The same page claims that st_blocks may use other units than 512 byte blocks, but that seems to be quite rare. GNU coreutils sources claim HP-UX and AIX PS/2 have non-512 blocks. Perhaps it would be better to indicate how to find out the block size? (Since st_blksize is not it, but that's an easy assumption to make.)
History
Date User Action Args
2011-06-16 21:05:56liwsetrecipients: + liw, r.david.murray, docs@python
2011-06-16 21:05:56liwsetmessageid: <1308258356.31.0.134218079649.issue12350@psf.upfronthosting.co.za>
2011-06-16 21:05:55liwlinkissue12350 messages
2011-06-16 21:05:55liwcreate