[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BTRFS file clone support for cp
From: |
Jim Meyering |
Subject: |
Re: BTRFS file clone support for cp |
Date: |
Sun, 26 Jul 2009 10:15:11 +0200 |
Giuseppe Scrivano wrote:
> Jim Meyering <address@hidden> writes:
>>> ..., a cloned partially-sparse file on btrfs takes less
>>> space than a fully-sparse copied file.
>>
>> That is not true. A fully-sparse file takes less space
>> than a partially-sparse one.
>
> Sorry I wasn't clear, I wanted to say that a cloned file in any case
> take less space than really copying it.
That depends on what you mean by "really copying it".
If you copy with --sparse=always and the file has at least
one non-sparse run of zeros, that result will be smaller
than the cloned file.
>> Adding this optimization should not change the meaning of
>> --sparse=always.
>
> So do you want to use it only when --sparse=auto is used?
Precisely.
- BTRFS file clone support for cp, Giuseppe Scrivano, 2009/07/25
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/25
- Re: BTRFS file clone support for cp, Giuseppe Scrivano, 2009/07/25
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/25
- Re: BTRFS file clone support for cp, Giuseppe Scrivano, 2009/07/25
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/26
- Re: BTRFS file clone support for cp, Giuseppe Scrivano, 2009/07/26
- Re: BTRFS file clone support for cp,
Jim Meyering <=
- Re: BTRFS file clone support for cp, Giuseppe Scrivano, 2009/07/26
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/27
- Re: BTRFS file clone support for cp, Andreas Schwab, 2009/07/27
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/28
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/29
- Re: BTRFS file clone support for cp, Jim Meyering, 2009/07/29
Re: BTRFS file clone support for cp, Pádraig Brady, 2009/07/26