Pierre Neidhardt writes: > Ludovic Courtès writes: > >> So back to the original patch… I think we should use ‘size->number’ for >> the absolute threshold. >> >> I’m also still mildly reluctant to the addition of >> ‘GUIX_DISK_SPACE_WARNING_ABSOLUTE’ (one more variable and a weird >> name—“absolute warning”?). An option could be to allow >> ‘GUIX_DISK_SPACE_WARNING’ to optionally contain both thresholds. These >> would be valid values: >> >> 1GiB;10% >> 15 ;15% relative, and default absolute >> 15% ;same >> 1G ;1G absolute, and default relative Something else: in your example it's not logically possible to make out if a raw number is relative or absolute. So I suggest to break backward compatibility and do this: 1GiB;10% 15 ;15 absolute (15 bytes), and default relative 15% ;15% relative, and default absolute 1G ;1G absolute, and default relative Thoughts? -- Pierre Neidhardt https://ambrevar.xyz/