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

Feature suggestion: allow passing "--rsyncable" to zstd compressor #117

Open
goverp opened this issue Jul 24, 2023 · 0 comments
Open

Feature suggestion: allow passing "--rsyncable" to zstd compressor #117

goverp opened this issue Jul 24, 2023 · 0 comments

Comments

@goverp
Copy link

goverp commented Jul 24, 2023

With luck, rsyncing a file generated with gensquashfs may save on transferring the entire file. For example, I use rsync to maintain my snapshot of the Gentoo portage tree (order of 100 MB compressed using lzop), and weekly changes used to need a transfer of about 60% of the file (for some reason, that's no longer true, but that's a Gentoo issue, and anyway it's irrelevant).

It struck me that as zstd has an explicit option "--rsyncable" to make its output more rsync-friendly, it would benefit gensquashfs to be able to specify it, but "gensquashfs -c sztd -X help" just says "level=" as the list of available options (at least, on my Gentoo system).

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

1 participant