shithub: riscv

ref: 281c087865941281cbe656b5d7b44c15cfa68dfc
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
}