summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-02-25 03:38:48 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2011-02-25 03:38:48 +0100
commit8d43d94065e88e00e1460841b43c7de584ee5585 (patch)
tree419aa21b03b26223563c2783f011a0f1398731c5 /common.h
parentam 5cae445e: make recovery reboot after 2 minutes of no activity (diff)
parentstore partition length in recovery.fstab (diff)
downloadandroid_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.tar
android_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.tar.gz
android_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.tar.bz2
android_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.tar.lz
android_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.tar.xz
android_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.tar.zst
android_bootable_recovery-8d43d94065e88e00e1460841b43c7de584ee5585.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h
index d99daaf86..e6e8f8564 100644
--- a/common.h
+++ b/common.h
@@ -99,6 +99,12 @@ typedef struct {
const char* device2; // alternative device to try if fs_type
// == "ext4" or "vfat" and mounting
// 'device' fails
+
+ long long length; // (ext4 partition only) when
+ // formatting, size to use for the
+ // partition. 0 or negative number
+ // means to format all but the last
+ // (that much).
} Volume;
#endif // RECOVERY_COMMON_H