summaryrefslogtreecommitdiffstats
path: root/src/virtual/qmp.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-03-01 17:59:04 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-03-02 13:15:10 +0100
commitc9a3a763ddf91ccf3d382a29996c4f2f5e767d9a (patch)
tree8ec89b9b32cd8567b3110785699b786333000317 /src/virtual/qmp.py
parenta1edbe904b3019ec77b54fdd48c01183f4c73483 (diff)
legacy: rewrite ogGetImageInfo
Rewrites this legacy script behavior using native Python code, using subprocess module when executing programs like partclone.info or lzop ogGetImageInfo is a bash script that retrieves information regarding an OpenGnsys partition image, specifically: - clonator - compressor - filesystem - datasize (size of the partition image) This rewrite only supports partclone and lzop compressed images. This is standard behavior, we have no reports of other programs or compression algorithms in use. Keep this legacy function with hungarian notation to emphasize this is still a legacy component that may be replaced in the future.
Diffstat (limited to 'src/virtual/qmp.py')
0 files changed, 0 insertions, 0 deletions