shithub: riscv

Download patch

ref: 906ee795330604275dc6fa1da606b683d156f368
parent: 64ae775d6f91c929f4938be111fcc101b845a811
author: Michael Forney <mforney@mforney.org>
date: Tue May 2 17:08:51 EDT 2023

fstype: add support for gefs

--- a/rc/bin/fstype
+++ b/rc/bin/fstype
@@ -24,6 +24,10 @@
 	echo hjfs
 	exit
 }
+if(~ $"m 67656673){
+	echo gefs
+	exit
+}
 m=`{dd -if /env/block -bs 16 -count 1 -skip 16 >[2]/dev/null}
 if(~ $"m 'kfs wren device'){
 	echo kfs