diff options
| author | cinap_lenrek <cinap_lenrek@localhost> | 2011-06-10 00:44:41 +0000 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-06-10 00:44:41 +0000 |
| commit | e9c5928c86398eb8d710cb7aa9e319be0ee0c1e3 (patch) | |
| tree | 27a726204b189e4f521cdc734edde8745c97e9a1 /rc/bin/pc/isfat | |
| parent | 674e690e758a7c251aef64489b1fcf0144f6bb61 (diff) | |
| download | plan9front-e9c5928c86398eb8d710cb7aa9e319be0ee0c1e3.tar.xz | |
remove rc/bin/pc
Diffstat (limited to 'rc/bin/pc/isfat')
| -rwxr-xr-x | rc/bin/pc/isfat | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/rc/bin/pc/isfat b/rc/bin/pc/isfat deleted file mode 100755 index 860278571..000000000 --- a/rc/bin/pc/isfat +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/rc - -rfork e - -# 0000000 eb 3c 90 P l a n 9 . 0 0 00 02 04 02 00 -# 0000010 02 00 02 02 P f8 14 00 ? 00 ff 00 ~ 04 } 00 -# 0000020 02 P 00 00 80 00 ) a8 04 } 00 C Y L I N -# 0000030 D R I C A L F A T 1 6 fa 8c - -if(! ~ $#* 1) { - echo 'usage: isfat /dev/sdC0/part' >[1=2] - exit usage -} - -arg=$1 -fn fat { - cmp -s <{dd -if $arg -bs 1 -count 3 -skip $1 >[2]/dev/null} <{echo -n FAT} -} - -fat 54 || fat 82 -exit $status - |
