[lkml]   [2000]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Used space in bytes
In article <8uf21i$ro7$>,
H. Peter Anvin <> 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-

Telling programs 'please use 1-byte r/w buffers' is probably
a bad idea.

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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.038 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site