shithub: gefs

Download patch

ref: fd7592c08db534f165efdde078186d2c65386678
parent: afc09a56c981be2eb32673c09e778b216c32ec26
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Dec 2 22:57:55 EST 2023

fs: take minutelyl snaps even if the fs is clean

the gaps in history were confusing

--- a/fs.c
+++ b/fs.c
@@ -2354,8 +2354,6 @@
 		tmnow(&now, nil);
 		lock(&fs->mountlk);
 		for(mnt = fs->mounts; mnt != nil; mnt = mnt->next){
-			if(!mnt->root->dirty)
-				continue;
 			if(now.yday != then.yday){
 				snprint(buf, sizeof(buf),
 					"%s@day.%τ", mnt->name, tmfmt(&now, "YYYY.MM.DD[_]hh:mm:ss"));