shithub: riscv

ref: 4040ea7a5eda976098131794e8df3b162cafa8f4
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
}