History log of /system/core/libsparse/append2simg.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0e3f47e4827a067b9b9795a3ae7297b51c9f0776 25-Apr-2014 Colin Cross <ccross@android.com> append2simg: write to temporary file

append2simg causes libsparse to write mmapped data from a file
back to that same file. On btrfs, this sometimes causes a page
of zeroes to be written instead of the file data. Work around
the issue by writing the output to a temporary file and then
renaming it over the original file.

Change-Id: Ia194b6ba0ddb8548747b63292b523756f544706a
/system/core/libsparse/append2simg.c
de807f2ed8af63a75174933c13705a7529a82914 08-Jul-2013 Geremy Condra <gcondra@google.com> Add append2simg.

Append2simg is a small utility designed to glue data to the end
of a sparse image. Beware that it doesn't do anything clever with
that data.

Change-Id: I33af330cb4f77e0842375797a35aebbb6af60163
/system/core/libsparse/append2simg.c