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
|