Lines Matching refs:partition
126 def findPartOffset(devFile, fileName, partition):
130 # Dump the partition information.
141 # This line has information about the first partition.
143 # The fourth chunk is the offset of the partition in sectors followed by
203 # A command which prepares an image with an partition table and an empty file
212 # A command to mount the first partition in the image.
213 mountCom = Command('mount', 'Mount the first partition in the disk image.',
232 # A command to unmount the first partition in the image.
233 umountCom = Command('umount', 'Unmount the first partition in the disk image.',
280 # A command to partition the image file like a raw disk device.
281 partitionCom = Command('partition', 'Partition part of "init".',
284 def partition(dev, cylinders, heads, sectors):
285 # Use fdisk to partition the device
302 if partition(dev, *chsFromSize(size / BlockSize)) != 0:
310 # A command to format the first partition in the image.
344 if partition(dev, *chsFromSize((mb * MB) / BlockSize)) != 0: