53db1b3ff03e602bae11ca9e251917ad8524141d
[chromiumos/platform/crosutils.git] / build_library / legacy_disk_layout.json
1 {
2   "_comment": "See http://www.chromium.org/chromium-os/building-chromium-os/disk-layout-format",
3   "metadata":{
4     "block_size": 512,
5     "fs_block_size": 4096
6   },
7   "layouts":{
8     "base": [
9       {
10         "num": 11,
11         "label":"RWFW",
12         "type":"firmware",
13         "blocks":"16384"
14       },
15       {
16         "num": 6,
17         "label":"KERN-C",
18         "type":"kernel",
19         "blocks":"1"
20       },
21       {
22         "num": 7,
23         "label":"ROOT-C",
24         "type":"rootfs",
25         "fs_format":"ext2",
26         "blocks":"1"
27       },
28       {
29         "num": 9,
30         "type":"reserved",
31         "label":"reserved",
32         "blocks":"1"
33       },
34       {
35         "num": 10,
36         "type":"reserved",
37         "label":"reserved",
38         "blocks":"1"
39       },
40       {
41         "type":"blank",
42         "blocks":"4028"
43       },
44       {
45         "num": 2,
46         "label":"KERN-A",
47         "type":"kernel",
48         "blocks":"32768"
49       },
50       {
51         "num": 4,
52         "label":"KERN-B",
53         "type":"kernel",
54         "blocks":"32768"
55       },
56       {
57         "num": 8,
58         "label":"OEM",
59         "type":"data",
60         "fs_format":"ext4",
61         "blocks":"32768"
62       },
63       {
64         "type":"blank",
65         "blocks":"131072"
66       },
67       {
68         "num": 12,
69         "label":"EFI-SYSTEM",
70         "type":"efi",
71         "fs_format":"vfat",
72         "blocks":"32768"
73       },
74       {
75         "num": 5,
76         "label":"ROOT-B",
77         "type":"rootfs",
78         "fs_format":"ext2",
79         "blocks":"4194304",
80         "fs_blocks":"262144"
81       },
82       {
83         "num": 3,
84         "label":"ROOT-A",
85         "type":"rootfs",
86         "fs_format":"ext2",
87         "blocks":"4194304",
88         "fs_blocks":"262144"
89       },
90       {
91         "num": 1,
92         "label":"STATE",
93         "type":"data",
94         "fs_format":"ext4",
95         "blocks":"2097152",
96         "features":["expand"]
97       }
98     ],
99     "usb": [
100       {
101         "num": 3,
102         "blocks":"2539520",
103         "fs_blocks":"262144"
104       },
105       {
106         "num": 5,
107         "blocks":"4096"
108       }
109     ],
110     "factory_install": [
111       {
112         "num": 1,
113         "blocks":"286720"
114       },
115       {
116         "num": 3,
117         "blocks":"860160",
118         "fs_blocks":"102400"
119       },
120       {
121         "num": 5,
122         "blocks":"4096"
123       },
124       {
125         "num": 12,
126         "blocks":"65536"
127       }
128     ],
129     "recovery": [
130       {
131         "num": 1,
132         "blocks":"4096"
133       },
134       {
135         "num": 3,
136         "blocks":"2539520",
137         "fs_blocks":"262144"
138       },
139       {
140         "num": 5,
141         "blocks":"4096"
142       }
143     ],
144     "2gb-rootfs": [
145       {
146         "num": 3,
147         "blocks":"4194304",
148         "fs_blocks":"512000"
149       },
150       {
151         "num": 5,
152         "blocks":"4096"
153       }
154     ],
155     "2gb-rootfs-updatable": [
156       {
157         "num": 1,
158         "blocks":"6291456"
159       },
160       {
161         "num": 3,
162         "blocks":"4194304",
163         "fs_blocks":"512000"
164       },
165       {
166         "num": 5,
167         "blocks":"4194304",
168         "fs_blocks":"512000"
169       }
170     ],
171     "4gb-rootfs": [
172       {
173         "num": 3,
174         "blocks":"8388608",
175         "fs_blocks":"1024000"
176       },
177       {
178         "num": 5,
179         "blocks":"4096"
180       }
181     ]
182   }
183 }