diff options
author | Doug Zongker <dougz@android.com> | 2011-02-17 15:55:21 -0800 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2011-02-17 15:55:21 -0800 |
commit | 2810ceda34604f605f781691689c0559e03cb357 (patch) | |
tree | f792bfdde8fd946e61d3f468ca5f2eaba479863a /common.h | |
parent | 4c05d9511298d24b49ab595814fc9f1894cf6a90 (diff) | |
download | bootable_recovery-2810ceda34604f605f781691689c0559e03cb357.zip bootable_recovery-2810ceda34604f605f781691689c0559e03cb357.tar.gz bootable_recovery-2810ceda34604f605f781691689c0559e03cb357.tar.bz2 |
store partition length in recovery.fstab
Don't hardcode magical partition behavior in roots.c.
Change-Id: I587fc2c066575b51c11efd2e45a50f5b864df484
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |