From owner-cvs-all@FreeBSD.ORG Sat Sep 1 17:50:27 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EFDD16A41B; Sat, 1 Sep 2007 17:50:27 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.freebsd.org (Postfix) with ESMTP id 0962C13C45B; Sat, 1 Sep 2007 17:50:27 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from rionda.dyndns.org (87.8.174.211) by vsmtp1.tin.it (7.3.122) id 469A4E99053FCA33; Sat, 1 Sep 2007 19:26:00 +0200 Received: from rionda.dyndns.org (rionda@localhost [127.0.0.1]) by rionda.dyndns.org (8.14.1/8.14.1) with ESMTP id l81HQ00D002405; Sat, 1 Sep 2007 19:26:00 +0200 (CEST) (envelope-from matteo@FreeBSD.org) Received: (from rionda@localhost) by rionda.dyndns.org (8.14.1/8.14.1/Submit) id l81HPx0Q002404; Sat, 1 Sep 2007 19:25:59 +0200 (CEST) (envelope-from matteo@FreeBSD.org) X-Authentication-Warning: rionda.dyndns.org: rionda set sender to matteo@FreeBSD.org using -f Date: Sat, 1 Sep 2007 19:25:59 +0200 From: Matteo Riondato To: Kris Kennaway Message-ID: <20070901172559.GB1823@kaiser.sig11.org> Mail-Followup-To: Matteo Riondato , Kris Kennaway , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200708250019.l7P0JHxK057929@repoman.freebsd.org> <20070827133828.GA70070@hub.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <20070827133828.GA70070@hub.freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d mdconfig X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2007 17:50:27 -0000 --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--