summaryrefslogtreecommitdiff
path: root/rc/bin/fstype
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-08-16 04:06:37 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-08-16 04:06:37 +0200
commitcb1c0763fbddc95cdc165d838b410a34f412622c (patch)
tree44399a1aa1e27ed62b393359c8d5d508a6d1d755 /rc/bin/fstype
parent04fa57de3a0393c690b6c1abcdf6e815e4cae4d0 (diff)
add paqfs detection
Diffstat (limited to 'rc/bin/fstype')
-rwxr-xr-xrc/bin/fstype5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc/bin/fstype b/rc/bin/fstype
index e2a46922a..5a0665c42 100755
--- a/rc/bin/fstype
+++ b/rc/bin/fstype
@@ -14,6 +14,11 @@ if(fat $1 54 || fat $1 82){
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"]++}