]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/geom_subr.sh
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / geom_subr.sh
1 #!/bin/sh
2 # $FreeBSD$
3
4 kldstat -q -m g_${class} || g${class} load || exit 1
5
6 devwait()
7 {
8         while :; do
9                 if [ -c /dev/${class}/${name} ]; then
10                         return
11                 fi
12                 sleep 0.2
13         done
14 }