Why the number of blocks is always a multiple of 8?

Posted by lemonedo on Super User See other posts from Super User or by lemonedo
Published on 2010-06-14T04:09:38Z Indexed on 2010/06/14 4:13 UTC
Read the original article Hit count: 215

Filed under:
|
$ stat -c %s,%o,%b foo.txt
631,4096,8
$ stat -c %s,%o,%b bar.txt
5952,4096,16

Why the number of blocks is always a multiple of 8? I thought the number of blocks of a file is the smallest integer that satisfies filesize <= blocksize * blockcount.

© Super User or respective owner

Related posts about linux

Related posts about filesystems