various improvements
[distro-setup] / filesystem / etc / cron.weekly / btrfs-balance-ian
index f03c69bd7beced1d435b039fbf92fd295572b8f2..7447740303de05bcd0bec0cfcb36bbd02bbd6bc8 100755 (executable)
@@ -45,7 +45,10 @@ for x in $($fnd --output "SOURCE" --nofsroot | sort -u); do
         )
     if [[ $date ]]; then
         date=$(date --date="$date" +%s)
-        # if date is sooner than 30 days ago
+        # if date is sooner than 90 days ago
+        # the wiki recommends 30 days or so, but
+        # it makes the comp lag like shit for a day,
+        # so I'm going with 90 days.
         if (( $date > `date +%s` - 60*60*24*30 )); then
             echo "skiping scrub of $mnt"
             continue