[cs631apue] block sizes

Julian Sexton jsexton at stevens.edu
Sat Oct 17 04:22:16 EDT 2015


The stat values of files seem to return the block count of the file based on
blocks of size 512 bytes. Is there an API to change this? Also, is the
default for ls 1024 byte blocks? It seems to consistently return half of
what stat does.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20151017/76deea12/attachment.html>


More information about the cs631apue mailing list