cvs commit: src/etc/rc.d mdconfig

Matteo Riondato matteo at FreeBSD.org
Sat Sep 1 10:50:27 PDT 2007


On Mon, Aug 27, 2007 at 01:38:28PM +0000, Kris Kennaway wrote:
> On Sat, Aug 25, 2007 at 12:19:17AM +0000, Matteo Riondato wrote:
> > matteo      2007-08-25 00:19:17 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     etc/rc.d             mdconfig 
> >   Log:
> >   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.
> 
> Wouldn't it be better to loop & retry (with a small sleep) until it
> appears?  "Sleeping N seconds" is a way to just shuffle a race into
> some other case.

Yes, it will be better. I'll commit a patch soon.
Thanks for the suggestion.
Best Regards
-- 
Matteo Riondato
FreeBSD Committer (http://www.FreeBSD.org)
FreeSBIE Developer (http://www.FreeSBIE.org)
GUFI Staff Member (http://www.GUFI.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070901/c7e8a21a/attachment.pgp


More information about the cvs-src mailing list