$ 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
.
dumpe2fs /dev/sda1 | grep Block
(/dev/hda1 for an IDE disk)?