summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-14 17:30:16 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-15 16:22:23 +0100
commit44250d033462666b9983c8d9b8e1c6cda5236ceb (patch)
tree4270ef85deb469d726db97b4603cf843050b64c8 /src/live/ogOperations.py
parent6b1f20faf326e5b9558060cdf07a347854e6dafc (diff)
live: remove mbuffer leftover in image restore command
Remove mbuffer, this is never used. mbuffer has been never been used since ogClient supports native image restore. Originally this was used like this: partclone [...] | mbuffer -q -M 40M | lzop [...] supposely to speed up partclone in case the device where the read happens is slowier than the device that is used for writes. See mbuffer(1) manpage examples. In any case, this needs benchmarking to really make sure this is helping. Remove it until that ever happens.
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r--src/live/ogOperations.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 93836f7..05e6c8e 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -178,7 +178,6 @@ class OgLiveOperations:
logging.debug(f'This process can take some time, please *DO NOT SHUT DOWN OR REBOOT* this client')
cmd_lzop = shlex.split(f'lzop -dc {image_path}')
cmd_pc = shlex.split(f'partclone.restore -d0 -C -I -o {devpath}')
- cmd_mbuffer = shlex.split('mbuffer -q -m 40M') if shutil.which('mbuffer') else None
if not os.path.exists(image_path):
logging.error('f{image_path} does not exist, exiting.')