1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/tools/regression/geom_subr.sh

15 lines
177 B
Bash

#!/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
}