Messages in this thread |  | | From | (Miquel van Smoorenburg) | Subject | Re: Used space in bytes | Date | 9 Nov 2000 21:03:30 GMT |
| |
In article <8uf21i$ro7$1@cesium.transmeta.com>, H. Peter Anvin <hpa@zytor.com> wrote: >Report a block size (really allocation unit size) st_blocks == 1?
If you mean st_blksize, well:
The value st_blocks gives the size of the file in 512-byte blocks. The value st_blksize gives the "preferred" block size for efficient file system I/O. (Writing to a file in smaller chunks may cause an inefficient read-modify- rewrite.)
Telling programs 'please use 1-byte r/w buffers' is probably a bad idea.
Mike. -- People get the operating system they deserve. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |