bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp command - problem with sparse


From: Jim Meyering
Subject: Re: cp command - problem with sparse
Date: Wed, 02 Feb 2005 14:10:53 +0100

Andreas Schwab <address@hidden> wrote:
> Eric Blake <address@hidden> writes:
>
>> Index: tests/du/8gb
>> ===================================================================
>> RCS file: /cvsroot/coreutils/coreutils/tests/du/8gb,v
>> retrieving revision 1.6
>> diff -u -p -r1.6 8gb
>> --- tests/du/8gb     3 May 2003 14:24:37 -0000       1.6
>> +++ tests/du/8gb     2 Feb 2005 03:19:31 -0000
>> @@ -26,7 +26,8 @@ fi
>>  # If this file system doesn't support sparse files,
>>  # don't try to create a file that'd end up consuming 8GB.
>>  # This happens on Darwin6.5 with a file system of type `hfs'.
>> -dd bs=1 seek=64K of=t < /dev/null 2> /dev/null
>> +# NTFS requires 128K before a hole appears in a sparse file.
>> +dd bs=1 seek=128K of=t < /dev/null 2> /dev/null
>>  set x `du -sk t`
>>  if test "$2" = 64; then
>                   ^^
> Doesn't that need to be changed to 128 as well?

Yes.  Thanks.  Fixed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]