• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1device {
2    path /dev/block/sda
3
4    scheme mbr
5
6    # bytes in a disk sector (== 1 LBA), must be a power of 2!
7    sector_size 512
8
9    # What LBA should the partitions start at?
10    start_lba 2048
11
12    # Autodetect disk size if == 0
13    num_lba 0
14
15    partitions {
16        sysloader {
17            active y
18            type linux
19            len 7M
20        }
21
22        recovery {
23            active y
24            type linux
25            len 16M
26        }
27
28        boot {
29            active y
30            type linux
31            len 8M
32        }
33
34        cache {
35            type linux
36            len 512M
37        }
38
39        system {
40            type linux
41            len 512M
42        }
43
44        third_party {
45            type linux
46            len 512M
47        }
48
49        data {
50            type linux
51            len -1
52        }
53    }
54}
55