summaryrefslogtreecommitdiff
path: root/ext4_utils/ext4_utils.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-08-12 11:35:37 -0700
committerDoug Zongker <dougz@google.com>2014-08-12 16:05:53 -0700
commitbec598e982301bf2714d37b14e312c9845c7cc0c (patch)
tree975b689f83d24cad7dba7f29d5439f5bd9c85a11 /ext4_utils/ext4_utils.h
parent3776fefb4b35a46f8298821b1914e7e695e7219a (diff)
downloadextras-bec598e982301bf2714d37b14e312c9845c7cc0c.tar.gz
add option to make_ext4fs to record blocks for each file
Add the -B option to make_ext4fs, which causes it to record the block ranges used for each (regular) file in the image. We can use this information to construct more efficient block-based incremental OTAs. Bug: 16984795 Change-Id: I2a5325bb89948f63c76e93fdfa84c51f9b050104
Diffstat (limited to 'ext4_utils/ext4_utils.h')
-rw-r--r--ext4_utils/ext4_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext4_utils/ext4_utils.h b/ext4_utils/ext4_utils.h
index 190fdb3f..499753fd 100644
--- a/ext4_utils/ext4_utils.h
+++ b/ext4_utils/ext4_utils.h
@@ -158,7 +158,8 @@ struct selabel_handle;
int make_ext4fs_internal(int fd, const char *directory,
const char *mountpoint, fs_config_func_t fs_config_func, int gzip,
int sparse, int crc, int wipe,
- struct selabel_handle *sehnd, int verbose, time_t fixed_time);
+ struct selabel_handle *sehnd, int verbose, time_t fixed_time,
+ FILE* block_list_file);
int read_ext(int fd, int verbose);