freebsd-dev/tools/regression/geom_subr.sh

15 lines
177 B
Bash
Raw Normal View History

#!/bin/sh
# $FreeBSD$
kldstat -q -m g_${class} || g${class} load || exit 1
devwait()
{
while :; do
if [ -c /dev/${class}/${name} ]; then
return
fi
sleep 0.2
done
}