From 43813a2cd8b2f155660125c70171dca573284fc8 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 16 Sep 2021 14:28:23 -0700 Subject: [PATCH] fix retention equation (just the comment) --- sh/oxo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/oxo b/sh/oxo index 7c2f0af..7f9c7be 100755 --- a/sh/oxo +++ b/sh/oxo @@ -71,7 +71,7 @@ oxo() { ### @- fi # compute retention using (fixed point) integers only. - # retention = (365 - 30) * ([file size] / [512 MiB] - 1)**3 + 30 + # retention = 30 - (365 - 30) * ([file size] / [512 MiB] - 1)**3 local a=$(( kib/16+1 )) local b=$(( (kib+64)/128-12288 )) local c=$(( a*a/16384 ))