Lines Matching refs:partitions
45 partitions = list()
72 partitions.append(partition_info)
74 partitions.sort(key=operator.itemgetter("num"))
75 return partitions
143 partitions = parse_input(config)
147 if os.path.exists(output_filename) and len(partitions) == 2:
149 shell_command(['dd', "if=" + partitions[0]["path"], "of=" + output_filename,
151 shell_command(['dd', "if=" + partitions[1]["path"], "of=" + output_filename,
155 elif len(partitions) == 2:
156 gptprefix = partitions[0]["sizeByMb"] + "_" + partitions[1]["sizeByMb"]
164 shell_command(['dd', "if=" + partitions[0]["path"], "of=" + output_filename,
166 shell_command(['dd', "if=" + partitions[1]["path"], "of=" + output_filename,
167 … "bs=1024k", "conv=notrunc,sync", "seek=" + str(1 + int(partitions[0]["sizeByMb"]))])
170 … "seek=" + str(1 + int(partitions[0]["sizeByMb"]) + int(partitions[1]["sizeByMb"]))])
178 for partition in partitions:
202 for partition in partitions: