lkml.org 
[lkml]   [2000]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Adam writes:
> I just did what suggested, and it seems that DU reports correct values,
> I have attached 'sript' log of the above example on my filesystem.
> Here are some highlights:
>
> [adam@pepsi /tmp]$ ls -lis holed.file
> 3085069 5872 -rw-rw-r-- 1 adam adam 6000000 Nov 30 09:11 holed.file
>
> Block size = 4096, fragment size = 4096
> Links: 1 Blockcount: 11744
> TOTAL: 1468
>
> so it seems DU reports correct values as :
> 11744/2=5872
> and
> 4096*1468=6012928

I guess the next thing to check is if your "dd" is actually seeking, or
just pretending to... Maybe an strace of the "dd" call will tell us if
it is screwing with our minds. Also, if you could make a scratch ext2
filesystem with 1k blocks, and see if it does the same thing. Even
better would be to try a different kernel to see if it affects this.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:49    [W:0.059 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site