1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +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
}