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: Andreas Schwab
Subject: Re: cp command - problem with sparse
Date: Wed, 02 Feb 2005 12:01:34 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

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?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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