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

Add +c compression attr to root.img at install/creation time #2069

Open
tasket opened this Issue Jun 14, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@tasket

tasket commented Jun 14, 2016

Idea:
Disk space on Qubes can benefit from transparent root.img compression in template and standalone vms: The content type and usage pattern is a good match.

Implementation:
Linux supports selective flagging of files for compression, and filesystems like btrfs support it. This makes the feature easy to implement (set +c attribute and it will be either used or ignored depending on host fs) with one snag: The attribute must be set at creation time to achieve compression of the entire image file, and this implies that file append/concatenation must be used when creating the image (the latter already happens to be true).

There should also be a global setting for this with an appropriate default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment