shithub: riscv

ref: 0b9c6fa117c3fe571aed497579b3340b2f8a1164
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
}