Dan Jacobson <[EMAIL PROTECTED]> wrote: > Nowhere on the stat or du info pages can the user figure out why > $ echo>y; stat y > File: `y' > Size: 1 Blocks: 2 IO Block: 4096 regular file > shows Blocks: 2. Ah, I know, stat is counting blocks by 512 bytes, but > du counts them as 1024, which indeed must be how big they are as that > is how big mkdir x; ls -l x will say. IO Block must be unreacted to > what we are talking about here, by the way. Perhaps also delve into > what you mean by IO Block on the stat info page. > Anyways, the stat info page does not go into block size discussions or > footnotes. stat must be like tar where 512 is mentioned. So the onus > is on you to say on the stat info and man pages just what block sizes > you are talking about, lest we be perceived as, urm, blockheads.
:-) Thank you for the good suggestions. It'd be great if you could submit a patch or two implementing them. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
