Lars Wirzenius <l...@liw.fi> added the comment: Right. So I guess at least the following should be changed (I'll make an actual patch once there's consensus):
* st_blocks should say that the size of block is often 512 bytes, but that's not guaranteed, and there's no way to know for sure * st_blksize should say it is size of efficient I/O, and is unrelated to st_blocks Should there be something more? Ideally, there should be a way to find out the size of blocks for st_blocks, but I don't know how to figure that out (though probably code from GNU's du could be borrowed). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12350> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com