shithub: riscv

ref: c9e86d6b342bc68f174825178d57e1e171972f5f
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
}