From ca68d57012f9e4eaac06c4f3791837dac6fe5832 Mon Sep 17 00:00:00 2001 From: matteo Date: Sat, 25 Aug 2007 00:19:17 +0000 Subject: 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 --- etc/rc.d/mdconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/rc.d/mdconfig b/etc/rc.d/mdconfig index 32aba48..372cd7a 100644 --- a/etc/rc.d/mdconfig +++ b/etc/rc.d/mdconfig @@ -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 -- cgit v1.1