3843c14979dce08cc6f800fa9964bf2f8a4bbb2c |
|
31-Jan-2014 |
Colin Cross <ccross@android.com> |
resolved conflicts for merge of 74da0434 to master Change-Id: I0a7745ecf65a2188c32e7bf2e89fe93259c71b83
|
af0723439af552c170425416ee8e35f4f20bbe67 |
|
23-Jan-2014 |
Colin Cross <ccross@android.com> |
ext4_utils: fix build for 64 bit Correct u64/s64 definitions Use PRIu64 to print u64 Change-Id: Icaf7998946b0a2faa03495b404af8b94e4e3d047
/system/extras/ext4_utils/ext2simg.c
|
ee2bba62529ce544a60d141ca10a37407c03ab1e |
|
21-Jan-2014 |
Paul Lawrence <paullawrence@google.com> |
ext4 utils: Refactor read_ext, and expose some of the functions Make read_ext an externally useable function. Use case is to enable fast encryption by being able to look at whether each block is in use or not. Bug: 11985952 Change-Id: Ief71f408a55db7261c75ebe974620415ed8cfd29
/system/extras/ext4_utils/ext2simg.c
|
9a2b60b28d866b94b86c7ceb3a9004d28e20b483 |
|
23-Jan-2014 |
Colin Cross <ccross@android.com> |
ext4_utils: move superblock parsing to its own compilation unit Move ext4_parse_sb to its own compilation unit so it can be used from fs_mgr without pulling in all of libext4_utils' dependencies when compiling with ld.bfd. Change-Id: I185352ecea0e0d577b8cdddfd519f2826d631277
/system/extras/ext4_utils/ext2simg.c
|
782879ab61fe825835a9c6a701f91aa7d305acef |
|
23-Jan-2014 |
Colin Cross <ccross@android.com> |
ext4_utils: move sparse file pointer out of fs_info Move the sparse file pointer out of the fs_info struct in preparation for exporting fs_info without sparse file support. Change-Id: I5a72147fe4fb24296e615cb82dbba91c6dc6f7f0
/system/extras/ext4_utils/ext2simg.c
|
5446bde9c02f6ae95a30d9c178b13a05bb580fe1 |
|
20-Feb-2013 |
Nick Kralevich <nnk@google.com> |
ext4_utils: clean up some warnings. Change-Id: Ia9761e5168cfe6baabc0105ea76d5575fc378f48
/system/extras/ext4_utils/ext2simg.c
|
f0ee37ffded79afdb03e15ae3a69969d2b7e6079 |
|
25-Apr-2012 |
Colin Cross <ccross@android.com> |
libsparse: make API sane Replaces the libsparse API with a sane one based on an opaque pointer. Change-Id: I93bc9cf9a6b912a993ef554dbe6ffe2f0f723383
/system/extras/ext4_utils/ext2simg.c
|
dc5abeee1e6fc4827ee0d5ece12aaed2dd56f4c7 |
|
24-Apr-2012 |
Colin Cross <ccross@android.com> |
Refactor sparse file support into libsparse Minimal refactoring of output_file.c into libsparse in preparation for completely separating libsparse from ext4_utils. Moves output_file.c, backed_block.c, and parts of ext4_utils.c into libsparse. The only changes to the remanining files in ext4_utils are using the new sparse.h header, and moving the wipe call out of output_file.c and into make_ext4fs.c. Change-Id: I1f66f6c3e05230a350023c5b4ea4422f16a73c4b
/system/extras/ext4_utils/ext2simg.c
|
0349bd9f14d252673a7a25767da4a80121aaaaf2 |
|
12-Jan-2012 |
Anatol Pomazau <anatol@google.com> |
Pass file descriptor instead of file name Passing a file descriptor to make_ext4fs_internal() is more flexible. We can use tmpfile() to create a temporary file. tmpfile() is better than other solutions because it unlinks the file right after creating it, so closing fd effectively removes temp file. Thus we don't have to worry about large temp files accidently left on the filesystem in case of the program crash. Change-Id: Iba3758a0e13a898920d30d7fa5da696c22daa2b7
/system/extras/ext4_utils/ext2simg.c
|
354350e3a92955e66abd1ea15536f8b6e5e66493 |
|
04-Feb-2012 |
Anatol Pomazau <anatol@google.com> |
Revert "Pass file descriptor instead of file name" This reverts commit 89ddaab97e9214cf331baffee2de4595ad14dc79
/system/extras/ext4_utils/ext2simg.c
|
89ddaab97e9214cf331baffee2de4595ad14dc79 |
|
12-Jan-2012 |
Anatol Pomazau <anatol@google.com> |
Pass file descriptor instead of file name Passing a file descriptor to make_ext4fs_internal() is more flexible. We can use tmpfile() to create a temporary file. tmpfile() is better than other solutions because it unlinks the file right after creating it, so closing fd effectively removes temp file. Thus we don't have to worry about large temp files accidently left on the filesystem in case of the program crash. Change-Id: I44146704572c314e1d6cfca7ce918efa7fb92a7a
/system/extras/ext4_utils/ext2simg.c
|
ae4f7dccadfafc36470a3e6f3084c6cf3cc63415 |
|
03-Feb-2012 |
Anatol Pomazau <anatol@google.com> |
Revert "Pass file descriptor instead of file name" This reverts commit 93eb1dc9e68d2e9dea94f56d8bce478c1a52b354
/system/extras/ext4_utils/ext2simg.c
|
93eb1dc9e68d2e9dea94f56d8bce478c1a52b354 |
|
12-Jan-2012 |
Anatol Pomazau <anatol@google.com> |
Pass file descriptor instead of file name Passing a file descriptor to make_ext4fs_internal() is more flexible. We can use tmpfile() to create a temporary file. tmpfile() is better than other solutions because it unlinks the file right after creating it, so closing fd effectively removes temp file. Thus we don't have to worry about large temp files accidently left on the filesystem in case of the program crash. Change-Id: I44109e98854c314e1d6cfca7ce918efa7fb92a7a
/system/extras/ext4_utils/ext2simg.c
|
c2470654d4b4db09a7052fc5fa108ac21f1b1948 |
|
27-Jan-2011 |
Colin Cross <ccross@android.com> |
ext4_utils: Add support for wipe option, and wipe by default in recovery Adds a -w option to make_ext4fs, which will attempt to use the BLKSECDISCARD ioctl to erase the partition in order to avoid leaving old data where it could be recovered, and to improve wear levelling after a reformat. Also causes factory reset through recovery to do a wipe. Change-Id: Ibe34bbd84552e526be6bd041024a950806aca6b4
/system/extras/ext4_utils/ext2simg.c
|
a7ed433f2dc0116627a93b18fbb260f0665ca0cb |
|
23-Dec-2010 |
Colin Cross <ccross@android.com> |
ext4_utils: Add ext2simg Change-Id: I6c0d71d737be588d03018efdaed378349caa4f7a
/system/extras/ext4_utils/ext2simg.c
|