diff options
author | Doug Zongker <dougz@google.com> | 2014-08-12 11:35:37 -0700 |
---|---|---|
committer | Doug Zongker <dougz@google.com> | 2014-08-12 16:05:53 -0700 |
commit | bec598e982301bf2714d37b14e312c9845c7cc0c (patch) | |
tree | 975b689f83d24cad7dba7f29d5439f5bd9c85a11 /ext4_utils/contents.h | |
parent | 3776fefb4b35a46f8298821b1914e7e695e7219a (diff) | |
download | extras-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/contents.h')
-rw-r--r-- | ext4_utils/contents.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext4_utils/contents.h b/ext4_utils/contents.h index 42720000..e57687e0 100644 --- a/ext4_utils/contents.h +++ b/ext4_utils/contents.h @@ -40,4 +40,6 @@ u32 make_link(const char *link); int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime); int inode_set_selinux(u32 inode_num, const char *secon); int inode_set_capabilities(u32 inode_num, uint64_t capabilities); +struct block_allocation* get_saved_allocation_chain(); + #endif |