diff options
author | Doug Zongker <dougz@android.com> | 2010-09-21 20:34:39 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-21 20:34:39 +0200 |
commit | 3dba40da1e533c6f419857e4274d9d9dd55868b6 (patch) | |
tree | 17d142b0411f11fcfa3f060f622c0b2dd906577f /common.h | |
parent | am d7d42089: remove unneeded partition roots (diff) | |
parent | remove the notion of "root path"; support mixed flash types (do not merge) (diff) | |
download | android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.tar android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.tar.gz android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.tar.bz2 android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.tar.lz android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.tar.xz android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.tar.zst android_bootable_recovery-3dba40da1e533c6f419857e4274d9d9dd55868b6.zip |
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -87,4 +87,17 @@ void ui_reset_progress(); #define STRINGIFY(x) #x #define EXPAND(x) STRINGIFY(x) +typedef struct { + const char* mount_point; // eg. "/cache". must live in the root directory. + + const char* fs_type; // "yaffs2" or "ext4" or "vfat" + + const char* device; // MTD partition name if fs_type == "yaffs" + // block device if fs_type == "ext4" or "vfat" + + const char* device2; // alternative device to try if fs_type + // == "ext4" or "vfat" and mounting + // 'device' fails +} Volume; + #endif // RECOVERY_COMMON_H |