On Mon, 2020-12-21 at 12:54 -0400, Robert Marcano via devel wrote:
> On 12/21/20 12:28 PM, Ben Cotton wrote:
> > ...
> >
> > === New process ===
> >
> > # Resolve packaging request into a list of packages and operations
> > # Download and '''decompress''' packages into a '''locally
> > optimized''' rpm file
> > # Install and/or upgrade packages sequentially using RPM files,
> > using
> > '''reference linking''' (reflinking) to reuse data already on disk.
>
> This sound great because free space requirements can be reduced,
> specially when installing new packages.
>
> I have experimented building very small appliances using btrfs
> compression on things like /usr/share. So I think this could disrupt
> this because if I am correct the extends will be first downloaded to
> a
> temporary directory without compression enabled.
For CoW to be beneficial, the package cache should be on the same
filesystem used for the bulk of the system. In this scenario,
compression should work just fine, as long as it's enabled on the
appropriate subvolumes.