ref: 2339cfc51541b3f62a7a92d67885b1918f8570c1
dir: /rc/bin/inst/configfs/
#!/bin/rc # desc: choose the type of file system to install switch($1){ case checkdone if(~ $#fstype 1 && test -f /bin/$fstype) configfs=done if not configfs=ready export configfs case go echo 'You can install the following types of file systems:' echo echo ' cwfs64x cached-worm file server for large disks' echo ' hjfs file server for small disks' echo ' gefs good enough file system (experimental!)' echo prompt -d cwfs64x 'File system' cwfs64x hjfs gefs fstype=$rd export fstype }