geom_subr.sh revision 256281
172195Sasmodai#!/bin/sh 272195Sasmodai# $FreeBSD: stable/10/tools/regression/geom_subr.sh 153184 2005-12-07 01:20:18Z pjd $ 372195Sasmodai 472195Sasmodaikldstat -q -m g_${class} || g${class} load || exit 1 572195Sasmodai 672195Sasmodaidevwait() 772267Sache{ 872195Sasmodai while :; do 972195Sasmodai if [ -c /dev/${class}/${name} ]; then 1072195Sasmodai return 1172195Sasmodai fi 1272195Sasmodai sleep 0.2 1372195Sasmodai done 1472275Sache} 1572327Sache