You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zstandard is a loseless compression algorithm, and dual-licensed under BSD OR GPLv2.
WSL supports importing quite a few formats already like .tar., .tar.xz, .tar.gz and .tar.zst.
I'm aware of #109 and agree with the size increase worry. Regarding implementation, do you mean a go package for the compression algorithms or something else? If you mean packages, I think this or this would work.
A test build of wsldl is available here and I successfully built DevuanWSL based on that. Running Devuan.exe does register the instance and it works flawlessly as far as I can tell so it should be feasible I guess.
The text was updated successfully, but these errors were encountered:
I'll keep this open as it's just partially solved, but personally I use native WSL export and redirecting that to Zstandard works perfectly, thus having no preference on zstd compression support by wsldl.
Code snippet in case anyone is interested:
wsl --shutdown
cd path\to\distro
# Make sure to use cmd as PowerShell pipe is known to be problematic
cmd /c "wsl --export Devuan - | zstd -T0 -o Devuan-$(Get-Date-UFormat "%Y%m%d").tar.zst"
Zstandard is a loseless compression algorithm, and dual-licensed under BSD OR GPLv2.
WSL supports importing quite a few formats already like
.tar.
,.tar.xz
,.tar.gz
and.tar.zst
.I'm aware of #109 and agree with the size increase worry. Regarding implementation, do you mean a go package for the compression algorithms or something else? If you mean packages, I think this or this would work.
To test if it's possible, I just blindly modified
wsldl/src/install/install.go
Lines 20 to 22 in 3672589
.tar.zst
just works. A more thorough support would require importing the package and changewsldl/src/install/install.go
Lines 106 to 124 in 3672589
A test build of wsldl is available here and I successfully built DevuanWSL based on that. Running
Devuan.exe
does register the instance and it works flawlessly as far as I can tell so it should be feasible I guess.The text was updated successfully, but these errors were encountered: