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.
master
OpenGnSys Support Team 2024-02-14 17:30:16 +01:00
parent 6b1f20faf3
commit 44250d0334
1 changed files with 0 additions and 1 deletions

View File

@ -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.')