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.disk | |
| parent | 674e690e758a7c251aef64489b1fcf0144f6bb61 (diff) | |
| download | plan9front-e9c5928c86398eb8d710cb7aa9e319be0ee0c1e3.tar.xz | |
remove rc/bin/pc
Diffstat (limited to 'rc/bin/pc/setup.disk')
| -rwxr-xr-x | rc/bin/pc/setup.disk | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/rc/bin/pc/setup.disk b/rc/bin/pc/setup.disk deleted file mode 100755 index 87330895f..000000000 --- a/rc/bin/pc/setup.disk +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/rc - -rfork e - -if(! ~ $#* 2) { - echo 'usage: setup.disk /dev/sdC0 plan9.ini' >[1=2] - exit usage -} - -disk=$1 -ini=$2 -if(! test -d $disk) { - echo disk directory not found >[1=2] - exit fat -} -if(! test -f $ini) { - echo plan9.ini not found >[1=2] - exit ini -} - - -disk/fdisk -wa $disk/data -if(! test -f $disk/plan9) { - echo could not create plan 9 partition >[1=2] - exit noplan9 -} - -disk/prep -cwa $disk/plan9 -if(! test -f $disk/fs) { - echo did not create fs partition '(weird)' >[1=2] - exit nofs -} - -disk/kfs -rb4096 -f $disk/fs -pc/setup.9fat $disk/9fat $ini -pc/update -pc/personalize |
