summaryrefslogtreecommitdiff
path: root/android_img_data_layout.conf
blob: 9ddbabcd8b3640dab47ba54e65ef85491a2c8fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
device {
    scheme mbr

    # bytes in a disk "block", must be a power of 2!
    sector_size 512

    # What LBA should the partitions start at?
    start_lba 2048

    # Autodetect disk size if == 0
    num_lba 800000

    partitions {
        # /dev/sdX1
        sysloader {
            active y
            type linux
            # 8 cyls in length... about 8M
            len 8064
        }

        # /dev/sdX2
        recovery {
            active y
            type linux
            # 8 cyls in length... about 8M
            len 8064
        }

        # /dev/sdX3
        boot {
            active y
            type linux
            len 8064
        }

        # /dev/sdX4
        # (extended partion begins)

        # /dev/sdX5
        third_party {
            type linux
            len 8064
        }

        # /dev/sdX6
        inst_data {
            type linux
        }

        # /dev/sdX7
        inst_cache {
            type linux
        }
    }
}