git: 9front

Download patch

ref: d98e19b458596ff5f2d10d9d42e23d313cb6a9f3
parent: f501fc5144ba671a03d34736491c69cde903ff86
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"]++}
--