lkml.org 
[lkml]   [2000]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Used space in bytes
Date
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/

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