shithub: gefix

Download patch

ref: 894a7a58e538ee47cfa756cdc3aa92793a2863b8
parent: 5eafd0ab6729981323928f2db6b7b2c10fe317c6
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jul 20 21:33:07 EDT 2024

gefix: add README

--- /dev/null
+++ b/README
@@ -1,0 +1,14 @@
+gefix: fix gefs file systems that were mis-reamed
+
+old GEFS file systems were reamed with an invalid
+backlink to the root directory in the adm snapshot;
+this repo has a hacked gefs version that will do
+the rewrite to make it valid, fixing some possible
+crashes.
+
+To use it, build the code and run it on an *unmounted*
+gefs partition:
+
+	cd src/gefix
+	mk
+	6.out -f /dev/sdXX/fs
--- a/mkfile
+++ b/mkfile
@@ -1,6 +1,6 @@
 </$objtype/mkfile
 
-TARG=fix
+TARG=gefix
 BIN=/$objtype/bin
 OFILES=\
 	blk.$O\