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:
parent
076a7cb9e2
commit
ca68d57012
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user