flatcar-scripts/build_library/disk_layout.json
2015-01-08 12:54:54 -08:00

165 lines
3.3 KiB
JSON

{
"_comment": "See http://www.chromium.org/chromium-os/building-chromium-os/disk-layout-format",
"metadata":{
"_comment": "Partitions are aligned to 2MB (4096 blocks). For the sake of VHD disks sizes should align to *both* 2MB and a CHS cylender boundry for the common 16H 63S geometry (16*63 = 1008 blocks). The least common multiple of 4096 and 1008 is 258048 blocks.",
"part_alignment": 4096,
"disk_alignment": 258048,
"block_size": 512,
"fs_block_size": 4096
},
"layouts":{
"base":{
"1":{
"label":"EFI-SYSTEM",
"type":"efi",
"blocks":"262144",
"fs_type":"vfat",
"mount":"/boot",
"features": ["hybrid"]
},
"2":{
"label":"BIOS-BOOT",
"type":"bios",
"blocks":"4096"
},
"3":{
"label":"USR-A",
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
"type":"coreos-rootfs",
"blocks":"2097152",
"fs_blocks":"260094",
"fs_type":"ext2",
"mount":"/usr",
"features": ["prioritize", "verity"]
},
"4":{
"label":"USR-B",
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
"type":"coreos-rootfs",
"blocks":"2097152",
"fs_blocks":"262144"
},
"5":{
"label":"ROOT-C",
"uuid":"d82521b4-07ac-4f1c-8840-ddefedc332f3",
"type":"blank",
"blocks":"0"
},
"6":{
"label":"OEM",
"type":"data",
"blocks":"262144",
"fs_type":"ext4",
"mount":"/usr/share/oem"
},
"7":{
"label":"OEM-CONFIG",
"type":"coreos-reserved",
"blocks":"131072"
},
"8":{
"type":"blank",
"label":"coreos-reserved",
"blocks":"0"
},
"9":{
"label":"ROOT",
"type":"coreos-resize",
"blocks":"4427776",
"fs_type":"ext4",
"mount":"/"
}
},
"vm":{
"9":{
"label":"ROOT",
"blocks":"12943360"
}
},
"azure":{
"9":{
"label":"ROOT",
"blocks":"58875904"
}
},
"vagrant":{
"9":{
"label":"ROOT",
"blocks":"33845248"
}
},
"onmetal":{
"7":{
"label":"config-2",
"type":"data",
"fs_type":"ext2"
}
},
"container":{
"1":{
"type":"blank"
},
"2":{
"type":"blank"
},
"3":{
"type":"blank"
},
"4":{
"type":"blank"
},
"5":{
"type":"blank"
},
"6":{
"type":"blank"
},
"7":{
"type":"blank"
},
"8":{
"type":"blank"
},
"9":{
"label":"ROOT",
"type":"4f68bce3-e8cd-4db1-96e7-fbcaf984b709",
"blocks":"6291456"
}
},
"secure_demo":{
"1":{
"label":"EFI-SYSTEM",
"type":"efi",
"blocks":"2097152",
"fs_type":"vfat",
"mount":"/",
"features": []
},
"2":{
"type":"blank"
},
"3":{
"type":"blank"
},
"4":{
"type":"blank"
},
"5":{
"type":"blank"
},
"6":{
"type":"blank"
},
"7":{
"type":"blank"
},
"8":{
"type":"blank"
},
"9":{
"type":"blank"
}
}
}
}