Open VasoVV opened 2 years ago
Sounds like a good idea. Especially getting named pipes to work shouldn't require too much thought. As far as I remember random seeking is only required for the output size anyways.
And I have no idea why I did the wierd seek, tell and seek thingy to get the filesize ahead of time, when I could just run the loop until EOF... 😅
This is really the best solution to handle a *.vma outside of ProxMox.
But typically we face with compressed
*.vma.gz
format, so we have to write a BIG file twice: .vma.gz --> .vma .vma --> .rawActually we need a triple free disk space (vma.gz + vma + raw) at a time.
It would be perfect if the script has the ability to use stdin as input (as origin vma has), so we can use it in such a way:
Unfortunately named pipe doesn't work:
Thank you for your work!