History log of /system/extras/ext4_utils/wipe.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
427c3a2177eb4d34c88406bb86107548737168cc 23-Mar-2011 Ken Sumrall <ksumrall@android.com> Make a failure of the BLKDISCARD ioctl non-fatal.

Failure to erase the partition before making a new filesystem
should not be fatal, especially since this is called from recovery,
and if make_ext4fs() dies, recovery dies.

Change-Id: I1b50b8c486d403a5d9cbd5e9de73cf752d8ef8f7
/system/extras/ext4_utils/wipe.c
3e620597671c7efa678c1cd804202cff513bc751 12-Feb-2011 Ken Sumrall <ksumrall@android.com> Fix to properly wipe filesystems larger than 4 gigabytes.

Pass the wipe size to the wipe function in a 64 bit int.

Change-Id: Ia6a0c70c8ddacaae35d17732d61b126219e5c158
/system/extras/ext4_utils/wipe.c
bb079ff767d5dd76be2d8753a3aef192b75b5664 29-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Fix non-linux builds

Change-Id: I5a22083645055abc36a3addc4eae45b40a7a6b2b
/system/extras/ext4_utils/wipe.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/wipe.c