summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorHashcode <hashcode0f@gmail.com>2013-11-20 06:59:42 +0100
committerDees Troy <dees_troy@teamw.in>2013-12-19 18:04:02 +0100
commit62bd9e04c72f81a99a613ce00e045fa290821807 (patch)
tree0ba417822d24febb782ebcbc0c8137779bfdfba8 /partitions.hpp
parentSupport custom graphics.c. (diff)
downloadandroid_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.tar
android_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.tar.gz
android_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.tar.bz2
android_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.tar.lz
android_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.tar.xz
android_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.tar.zst
android_bootable_recovery-62bd9e04c72f81a99a613ce00e045fa290821807.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/partitions.hpp b/partitions.hpp
index f32f2c0c5..62f95d040 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -74,6 +74,7 @@ private:
void Find_Actual_Block_Device(); // Determines the correct block device and stores it in Actual_Block_Device
bool Process_Flags(string Flags, bool Display_Error); // Process custom fstab flags
+ bool Process_FS_Flags(string& Options, int Flags); // Process standard fstab fs flags
bool Is_File_System(string File_System); // Checks to see if the file system given is considered a file system
bool Is_Image(string File_System); // Checks to see if the file system given is considered an image
void Setup_File_System(bool Display_Error); // Sets defaults for a file system partition
@@ -144,6 +145,8 @@ private:
bool Is_Settings_Storage; // Indicates that this storage partition is the location of the .twrps settings file and the location that is used for custom themes
string Storage_Path; // Indicates the path to the storage -- root indicates mount point, media/ indicates e.g. /data/media
string Fstab_File_System; // File system from the recovery.fstab
+ int Mount_Flags; // File system flags from recovery.fstab
+ string Mount_Options; // File system options from recovery.fstab
int Format_Block_Size; // Block size for formatting
bool Ignore_Blkid; // Ignore blkid results due to superblocks lying to us on certain devices / partitions
bool Retain_Layout_Version; // Retains the .layout_version file during a wipe (needed on devices like Sony Xperia T where /data and /data/media are separate partitions)