shithub: riscv

Download patch

ref: cb1c0763fbddc95cdc165d838b410a34f412622c
parent: 04fa57de3a0393c690b6c1abcdf6e815e4cae4d0
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Tue Aug 16 00:06:37 EDT 2011

add paqfs detection

--- a/rc/bin/fstype
+++ b/rc/bin/fstype
@@ -14,6 +14,11 @@
 	echo dos
 	exit
 }
+m=`{dd -if $1 -bs 4 -count 1 >[2]/dev/null | xd | sed 's,0000000  ,,;q'}
+if(~ $"m 529ab12b){
+	echo paqfs
+	exit
+}
 dd -if $1 -count 1 >[2]/dev/null | \
 awk '
 /^kfs/{fs["kfs"]++}
--