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/setup.9fat | |
| parent | 674e690e758a7c251aef64489b1fcf0144f6bb61 (diff) | |
| download | plan9front-e9c5928c86398eb8d710cb7aa9e319be0ee0c1e3.tar.xz | |
remove rc/bin/pc
Diffstat (limited to 'rc/bin/pc/setup.9fat')
| -rwxr-xr-x | rc/bin/pc/setup.9fat | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/rc/bin/pc/setup.9fat b/rc/bin/pc/setup.9fat deleted file mode 100755 index a6f470316..000000000 --- a/rc/bin/pc/setup.9fat +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/rc - -rfork e -if(! ~ $#* 2) { - echo 'usage: setup.9fat /dev/sdC0/9fat plan9.ini' >[1=2] - exit usage -} - -. /rc/bin/pc/defs -fat=$1 -ini=$2 -if(! test -f $fat) { - echo fat partition not found >[1=2] - exit fat -} -if(! test -f $ini) { - echo plan9.ini not found >[1=2] - exit ini -} - -if(pc/isfat $fat) { - echo 'Already a FAT partition in '^$fat^'; ream it?' - prompt 'ream 9fat' y n - switch($rd) { - case n - exit - } -} - -disk/format -r 2 -d -b /386/pbs $fat /386/9load /386/9pcdisk -mount -c /srv/dos /n/9fat $fat -cp $ini /n/9fat/plan9.ini -unmount /n/9fat |
