commit | c2470654d4b4db09a7052fc5fa108ac21f1b1948 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Jan 26 16:39:46 2011 -0800 |
committer | Colin Cross <ccross@android.com> | Fri Jan 28 14:12:00 2011 -0800 |
tree | fd74487bb48f4249ed3e00b094155c0b7ff1f43c | |
parent | 442985bad72adb119aa29dbe1b8c903fa834e089 [diff] |
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