summaryrefslogtreecommitdiff
path: root/rc/bin/inst/prepdisk
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2011-04-20 03:49:58 +0000
committerstanley lieber <stanley.lieber@gmail.com>2011-04-20 03:49:58 +0000
commitfbea254ad3b2bb3f19ed1f365ceece214da95bfd (patch)
treec1a50c99a631121a7a6b6a0eee6fc15e933c397f /rc/bin/inst/prepdisk
parent94c8e58f1415040860b876e1ce424c2519895cf9 (diff)
add Fish-'s installer patches; possibly not in a working state. testing/fixes requested.
Diffstat (limited to 'rc/bin/inst/prepdisk')
-rwxr-xr-xrc/bin/inst/prepdisk17
1 files changed, 5 insertions, 12 deletions
diff --git a/rc/bin/inst/prepdisk b/rc/bin/inst/prepdisk
index 6ef4a92f8..a1faf0fe6 100755
--- a/rc/bin/inst/prepdisk
+++ b/rc/bin/inst/prepdisk
@@ -4,10 +4,8 @@
# prereq: partdisk
fn autotype {
- if(~ $fstype fossil)
- echo -a 9fat -a nvram -a fossil -a swap
- if(~ $fstype fossil+venti)
- echo -a 9fat -a nvram -a arenas -a isect -a fossil -a swap # -a other
+ if(~ $fstype cwfs)
+ echo -a 9fat -a nvram -a fscache -a fsworm -a other
}
switch($1) {
@@ -47,15 +45,10 @@ case checkdone
if(! ~ $prepdisk ready){
prepdisk=done
switch($fstype){
- case fossil
- if(! test -f /dev/sd*/fossil* && ! test -f /dev/fs/fossil*)
+ case cwfs
+ if(! test -f /dev/sd*/fscache* && ! test -f /dev/fs/fscache*)
prepdisk=ready
- case fossil+venti
- if(! test -f /dev/sd*/fossil* && ! test -f /dev/fs/fossil*)
- prepdisk=ready
- if(! test -f /dev/sd*/arenas && ! test -f /dev/fs/arenas*)
- prepdisk=ready
- if(! test -f /dev/sd*/isect && ! test -f /dev/fs/isect*)
+ if(! test -f /dev/sd*/fsworm* && ! test -f /dev/fs/fsworm*)
prepdisk=ready
}
}