File: hdimage-sparse.config

package info (click to toggle)
genimage 19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 988 kB
  • sloc: ansic: 5,606; sh: 1,132; makefile: 194
file content (53 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
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
image test.ext4 {
	ext4 {
		label = "mke2fs"
		fs-timestamp = "20000101000000"
		use-mke2fs = true
		mke2fs-conf = "mke2fs.conf"
		extraargs = "-U 12345678-1234-1234-1234-1234567890ab -E quotatype="
		features = "^resize_inode,quota"
	}
	size = 32M
}

image test.hdimage {
	hdimage {
		align = 1M
		fill = true
		disk-signature = 0x12345678
	}
	partition part1 {
		image = "part1.img"
		size = 1M
		partition-type = 0x83
	}
	partition part2 {
		image = "test.ext4"
		partition-type = 0x83
		sparse = false
	}
	partition part3 {
		image = "part1.img"
		size = 1M
		partition-type = 0x83
	}
	partition part4 {
		image = "part2.img"
		size = 1M
		partition-type = 0x83
		fill = true
		sparse = false
	}
	partition part5 {
		image = "part1.img"
		size = 1M
		partition-type = 0x83
	}
	partition part6 {
		image = "part2.img"
		size = 1M
		partition-type = 0x83
		fill = true
		sparse = false
	}
}