Given output such as: ``` # emerge -Kva skopeo These are the packages that would be merged, in order: Calculating dependencies... done! [binary N ~] app-emulation/skopeo-1.1.0::gentoo USE="-btrfs" 0 KiB Total: 1 package (1 new, 1 binary), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] ``` ... it would be really helpful if - either by default or via a new command-line argument - `emerge` could show the size of the binary packages, rather than the size of the download (since, of course, when a binary package is used there should be no download, but equally the package size should already be known as the binary package exists on disk).
While systems configured with a remote Binhost may equivalently show the download size rather than the binary package size, when a system has a local (or NFS-mounted or similarly shared) $PKGDIR the size is always reported as '0 KiB', in which case it may as well be omitted. If the information is readily available, it would also be really useful to state the additional filesystem space the operation would consume - something along the lines of: ``` # emerge -Kva skopeo These are the packages that would be merged, in order: Calculating dependencies... done! [binary N ~] app-emulation/skopeo-1.14.0-r3::gentoo USE="-btrfs -device-mapper -rootless" 19 MiB Total: 1 package (1 new, 1 binary), Size of downloads: 0 KiB, Final size of installed tree: 39748 KiB (38.8 MiB) Would you like to merge these packages? [Yes/No] ``` A stretch (especially given the move toward merged-usr installations) would be to also break down the space requirements based on the mounted filesystems present when the installation takes place: ``` … Total: 1 package (1 new, 1 binary), Size of downloads: 0 KiB, Final size of installed tree: 39748 KiB (38.8 MiB) Additional space requirements: / 0 KiB (66% used after operation) /var 0.8 MiB (70% used after operation) /usr 38.0 MiB (68% used after operation) Would you like to merge these packages? [Yes/No] ``` (This functionality could be gated behind an additional level of verbosity if necessary)