#!/bin/rc # desc: choose the type of file system to install switch($1){ case checkdone if(~ $#fstype 1 && test -e /bin/$fstype) configfs=done if not configfs=ready export configfs case go echo 'You can install the following types of file systems:' echo echo ' venti Venti archive + Fossil fs (20gb minimum)' echo ' cwfs64x the cached-worm file server (20gb minimum)' echo ' hjfs the new 9front file server (experimental!)' echo ' fossil fossil alone (should be used with remote venti)' echo ' ants venti+fossil ants colony partitioning' echo prompt -d venti 'File system' venti cwfs64x hjfs fossil ants fstype=$rd if(~ $fstype ants){ fstype=venti multifossil=yes } export fstype export multifossil }