lkml.org 
[lkml]   [2004]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: data loss in 2.6.9-rc1-mm1
Hi!

> What does ls -l testfile.1 give?

$ ls -l testfile{,.1}
-rw-r--r-- 1 dice users 10485760 Aug 27 13:25 testfile
-rw-r--r-- 1 dice users 10481664 Aug 27 13:25 testfile.1

> What you describe actually can be correct behaviour, since the file is
> all zeros.

Same test with other source file...

$ dd if=linux-2.6.8.1.tar.bz2 of=testfile bs=$((1024*1024)) count=10
10+0 records in
10+0 records out
10485760 bytes transferred in 0.061916 seconds (169354917 bytes/sec)

$ du -sb testfile
10485760 testfile

$ cat testfile > testfile.1

$ du -sb testfile.1
10481664 testfile.1

> Although yes, it seems highly improbable someone implemented an
> optimization that cuts away just one of 2560 pages.

Thanks,
Gergely
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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