diff options
author | dianlujitao <dianlujitao@lineageos.org> | 2018-12-03 11:45:47 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2019-03-21 22:15:52 +0100 |
commit | 4879b37b5db3b06eb17a4a0deda5fc08fef51c41 (patch) | |
tree | af8ad951ba6b34091461debb35c755c1531b2ead /partitions.hpp | |
parent | Use listbox for device-specific advanced menu items (diff) | |
download | android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.tar android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.tar.gz android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.tar.bz2 android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.tar.lz android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.tar.xz android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.tar.zst android_bootable_recovery-4879b37b5db3b06eb17a4a0deda5fc08fef51c41.zip |
Diffstat (limited to 'partitions.hpp')
-rw-r--r-- | partitions.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/partitions.hpp b/partitions.hpp index a8fd70b40..c124457f6 100644 --- a/partitions.hpp +++ b/partitions.hpp @@ -181,7 +181,7 @@ private: unsigned long long IOCTL_Get_Block_Size(); // Finds the partition size using ioctl bool Find_Partition_Size(); // Finds the partition size from /proc/partitions unsigned long long Get_Size_Via_du(string Path, bool Display_Error); // Uses du to get sizes - bool Wipe_EXT23(string File_System); // Formats as ext3 or ext2 + bool Wipe_EXTFS(string File_System); // Create an ext2/ext3/ext4 filesystem bool Wipe_EXT4(); // Formats using ext4, uses make_ext4fs when present bool Wipe_FAT(); // Formats as FAT if mkfs.fat exits otherwise rm -rf wipe bool Wipe_EXFAT(); // Formats as EXFAT @@ -191,6 +191,7 @@ private: bool Wipe_NTFS(); // Uses mkntfs to wipe bool Wipe_Data_Without_Wiping_Media(); // Uses rm -rf to wipe but does not wipe /data/media bool Wipe_Data_Without_Wiping_Media_Func(const string& parent); // Uses rm -rf to wipe but does not wipe /data/media + void Wipe_Crypto_Key(); // Wipe crypto key from either footer or block device bool Backup_Tar(PartitionSettings *part_settings, pid_t *tar_fork_pid); // Backs up using tar for file systems bool Backup_Image(PartitionSettings *part_settings); // Backs up using raw read/write for emmc memory types bool Raw_Read_Write(PartitionSettings *part_settings); |