Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2007 19:25:59 +0200
From:      Matteo Riondato <matteo@FreeBSD.org>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d mdconfig
Message-ID:  <20070901172559.GB1823@kaiser.sig11.org>
In-Reply-To: <20070827133828.GA70070@hub.freebsd.org>
References:  <200708250019.l7P0JHxK057929@repoman.freebsd.org> <20070827133828.GA70070@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> >=20
> >   FreeBSD src repository
> >=20
> >   Modified files:
> >     etc/rc.d             mdconfig=20
> >   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.
>=20
> 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
--=20
Matteo Riondato
FreeBSD Committer (http://www.FreeBSD.org)
FreeSBIE Developer (http://www.FreeSBIE.org)
GUFI Staff Member (http://www.GUFI.org)

--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFG2aCn2Mp4pR7Fa+wRArkUAJ97LOro6kjxIs7nxze+FAGkOhSzogCg2CTe
0CUkIhZQIQh1a3lLS3WhtmE=
=xu8m
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070901172559.GB1823>