COT.disks.raw
module¶
Handling of raw disk image files.
-
class
RAW
(path, disk_subformat=None, capacity=None, files=None)[source]¶ Bases:
COT.disks.disk.DiskRepresentation
Raw disk image file representation.
-
classmethod
from_other_image
(input_image, output_dir, output_subformat=None)[source]¶ Convert the other disk image into an image of this type.
Parameters: - input_image (DiskRepresentation) – Existing image representation.
- output_dir (str) – Output directory to store the new image in.
- output_subformat (str) – Any relevant subformat information.
Returns: RAW – representation of newly created raw image.
-
disk_format
= 'raw'¶
-
files
¶ List of files on the FAT32 file system of this disk.
-
classmethod