On Monday 19 January 2004 09:15 am, Anton Altaparmakov wrote:
> This fixes the erroneous "du" and "stat" output people reported on
> ntfs partitions containing compressed directories.
Thanks for the quick patch. There are still problems with the reported=20
disk usage. I use as an example the file win.ini. With the 2.4.24=20
kernel I get the following results:
$ ls -l win.ini
-r--r----- 1 root staff 399 Jan 27 2003 win.ini
$ stat win.ini
File: "win.ini"
Size: 399 =09Blocks: 2 IO Block: 1024 Regular File
Device: 305h/773d=09Inode: 1023 Links: 1
Access: (0440/-r--r-----) Uid: ( 0/ root) Gid: ( 50/ staff)
Access: Thu Jan 15 15:34:09 2004
Modify: Mon Jan 27 18:54:00 2003
Change: Sun Sep 22 07:23:44 2002
$ du -h win.ini
1.0k=09win.ini
But, under the 2.6.1 kernel:
$ ls -l win.ini
-r-xr-x--- 1 root staff 399 Jan 27 2003 win.ini
$ stat win.ini
File: "win.ini"
Size: 399 =09Blocks: 0 IO Block: 4096 Regular File
Device: 305h/773d=09Inode: 1023 Links: 1
Access: (0550/-r-xr-x---) Uid: ( 0/ root) Gid: ( 50/ staff)
Access: Thu Jan 15 15:34:09 2004
Modify: Mon Jan 27 18:54:00 2003
Change: Mon Jan 27 18:54:00 2003
$ du -h win.ini
0=09win.ini
Now, surely the 2.4.24 kernel is reporting the more accurate disk usage=20
since with 2.6.1 it reports 0 blocks (vice 2).
Thanks in advance,
--=20
David Sanders
li...@sa...
|