Fix problems with MTD devices
Also improve handling of MTD names
diff --git a/partitions.hpp b/partitions.hpp
index 5bd1197..5a919ae 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -64,6 +64,7 @@
public:
string Current_File_System; // Current file system
string Actual_Block_Device; // Actual block device (one of primary, alternate, or decrypted)
+ string MTD_Name; // Name of the partition for MTD devices
protected:
bool Process_Fstab_Line(string Line, bool Display_Error); // Processes a fstab line
@@ -97,7 +98,6 @@
string Display_Name; // Display name for the GUI
string Backup_Name; // Backup name -- used for backup filenames
string Backup_FileName; // Actual backup filename
- string MTD_Name; // Name of the partition for MTD devices
Backup_Method_enum Backup_Method; // Method used for backup
bool Has_Data_Media; // Indicates presence of /data/media, may affect wiping and backup methods
bool Has_Android_Secure; // Indicates the presence of .android_secure on this partition