From cb1c0763fbddc95cdc165d838b410a34f412622c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 16 Aug 2011 04:06:37 +0200 Subject: add paqfs detection --- rc/bin/fstype | 5 +++++ 1 file changed, 5 insertions(+) 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"]++} -- cgit v1.2.3