[cs631apue] why used blocks are always even in ls?

hao wu hwu9 at stevens.edu
Mon Oct 7 15:09:48 EDT 2013


suppose I have a file abc, its  size is 12987,

the environment BLOCKSIZE now is 2048.

12987/2048  = 6.34

I think the blocks used should be 7.

but in ls ,it shows 8

I found that the blocks used are always even in ls, any ideas?

Thanks,
Hao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20131007/fdefe561/attachment.html>


More information about the cs631apue mailing list