sleep 2 seconds after having loaded g_uzip.ko. We need this because

otherwise the /dev/mdX.uzip won't be created immediately, which is
needed because we issue a mount right afterwards.

Approved by:	re@ (bmah@)
MFC after:	2 days
This commit is contained in:
matteo 2007-08-25 00:19:17 +00:00
parent 076a7cb9e2
commit ca68d57012

View File

@ -115,6 +115,8 @@ mdconfig_start()
fi
if [ "${_file}" != "${_file%.uzip}" ]; then
load_kld -m g_uzip geom_uzip || return 3
# sleep a bit to allow creation of /dev/mdX.uzip
sleep 2
fi
fi
if mdconfig -l -u ${_md} >/dev/null 2>&1; then