plan9front/rc/bin/inst/configfs

23 lines
448 B
Plaintext
Raw Normal View History

#!/bin/rc
# desc: choose the type of file system to install
switch($1){
case checkdone
2011-04-21 17:50:41 -07:00
if(~ $#fstype 1 && test -f /bin/$fstype)
configfs=done
if not
configfs=ready
2011-04-21 17:50:41 -07:00
export configfs
case go
echo 'You can install the following types of file systems:'
echo
2011-04-21 17:50:41 -07:00
echo ' cwfs64x the cached-worm file server'
2012-08-09 11:13:28 -07:00
echo ' hjfs the new 9front file server (experimental!)'
echo
2012-08-07 08:57:04 -07:00
prompt -d cwfs64x 'File system' cwfs64x hjfs
fstype=$rd
export fstype
}