shithub: riscv

ref: 9b2d3ed37a9d58d8ea4692858b47a9f1b03d7e65
dir: /rc/bin/inst/mountfs/

View raw version
#!/bin/rc

# desc: choose and mount file system partition
# prereq: configfs

switch($fstype){
case cwfs cwfs64 cwfs64x
	exec ./mountcwfs $*
case hjfs
	exec ./mounthjfs $*
case *
	mountfs=notdone
	export mountfs
	exit
}