[cs631apue] Blocksize considerations

Jan Schaumann jschauma at stevens.edu
Sat Oct 22 15:11:06 EDT 2011


Sean McCoy <smccoy at stevens.edu> wrote:
> I'm having some trouble understanding how to handle the -s flag  
> properly. For reference, -s is defined as follows:

Did you try out what ls(1) on the systems you have access to does?
Compare the output of the following commands:

ls -ls <some file>
BLOCKSIZE=1024 ls -ls <some file>
BLOCKSIZE=2048 ls -ls <some file>
stat <some file>

-Jan


More information about the cs631apue mailing list