Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd +c compression attr to root.img at install/creation time #2069
Comments
andrewdavidwong
added
enhancement
C: core
P: minor
labels
Jun 15, 2016
andrewdavidwong
added this to the Far in the future milestone
Dec 24, 2016
andrewdavidwong
added
the
help wanted
label
Dec 24, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tasket commentedJun 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.