From owner-cvs-all@FreeBSD.ORG Mon Aug 27 13:38:28 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 758) id 5161F16A418; Mon, 27 Aug 2007 13:38:28 +0000 (UTC) Date: Mon, 27 Aug 2007 13:38:28 +0000 From: Kris Kennaway To: Matteo Riondato Message-ID: <20070827133828.GA70070@hub.freebsd.org> References: <200708250019.l7P0JHxK057929@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200708250019.l7P0JHxK057929@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i 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: Mon, 27 Aug 2007 13:38:28 -0000 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. Kris