diff options
| author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-02 03:01:52 +0000 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-02 03:01:52 +0000 |
| commit | 7d87f85671fa453b83edbf578d5324c8f354850c (patch) | |
| tree | f65ff05f9e256a801d0022be8731b7886d82cdab /rc/bin/inst/isfat | |
| parent | fa9a40027b8ced000ea1c3d2dc5ed8eb44c6ad90 (diff) | |
| download | plan9front-7d87f85671fa453b83edbf578d5324c8f354850c.tar.xz | |
inst: reintroduce iso mounting for usb, replace /rc/bin/inst/isxxx with /rc/bin/fstype, remove fossil/venti specific code, rename plan9.iso to 9front.iso
Diffstat (limited to 'rc/bin/inst/isfat')
| -rwxr-xr-x | rc/bin/inst/isfat | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/rc/bin/inst/isfat b/rc/bin/inst/isfat deleted file mode 100755 index 860278571..000000000 --- a/rc/bin/inst/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 - |
