The st_blocks field was first added to the stat structure in 4.2BSD (4.1b really) as part of the overhaul to add the new filesystem. I added it because the variable filesystem blocksize made it difficult to compute the amount of storage dedicated to a file. Kirk McKusick