Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to compress a file use lzfse on system-level ,like lzvn or zlib,what could I do? #46

Open
lilin007007 opened this issue Sep 5, 2018 · 1 comment

Comments

@lilin007007
Copy link

No description provided.

@Artoria2e5
Copy link

Artoria2e5 commented Dec 25, 2019

What operating system are you on?

If you are on MacOS, you can do that using AppleFSCompression (decmpfs). See APFS - how do I enable transparent compression. Note that the transparency is broken for quite a few Unix tools, although you probably only want to do it for mostly read-only executables anyways.

If you are on Linux, you have to patch your filesystem. Btrfs supports ZSTD, which is quite similar to LZFSE and can be used as a starting point. The other algorithm, LZ4, is quite similar to LZVN in efficiency. (Both are usually more efficient than the Apple analogues at the same speed, so you might just be better off using them.) If you are on FreeBSD, you can use LZ4 in ZFS.

If you are on Windows, good luck. Maybe when ReactOS adds support for WofCompressedData (CompactOS stream, a bit like decmpfs) you can use it like any other algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants