Re: RFC/RFS: zerofree - zero free blocks from ext2/3 file-systems
On Thu, February 7, 2008 10:15, Thibaut Paumard wrote:
>
> Le 7 févr. 08 à 02:11, Henrique de Moraes Holschuh a écrit :
>
>> On Wed, 06 Feb 2008, Thibaut Paumard wrote:
>>> Zerofree finds the unallocated, non-zeroed blocks in an ext2 or ext3
>>> file-system and fills them with zeroes. This is useful if the
>>> device on
>>
>> How does zerofree avoid race conditions of something trying to use
>> a block
>> it wil zero in the time window (<determine block is free>, <zero
>> block>]?
>
> It works only on unmounted or read-only-mounted filesystems.
>
> Regards, Thibaut.
That sounds like something I would like to make use of. Does it handle
sparse file efficiently (i.e. not writing a block if it is already zero)?
Reply to: