X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rc%2Fbin%2Ffstype;h=5a0665c42e9a4151fe630bcb810006cec1aa4e17;hb=ff0dc1668f11abdab7b8b5738a7320731ac909e5;hp=e2a46922a18b9baef75f06437b36a459df707cc5;hpb=fa9a40027b8ced000ea1c3d2dc5ed8eb44c6ad90;p=plan9front.git 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"]++}