Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 12:49:50 -0500
From:      Craig Boston <craig@tobuj.gank.org>
To:        diz@linuxpowered.com, vd@datamax.bg, freebsd-hackers@freebsd.org
Subject:   Re: [patch] rc.d/tmp (silly mkdir usage)
Message-ID:  <20050802174949.GB47508@nowhere>
In-Reply-To: <20050802174445.GA47508@nowhere>
References:  <51934.68.95.232.238.1122957425.squirrel@68.95.232.238> <20050802062937.GA31485@sinanica.bg.datamax> <1711.68.95.232.238.1123001239.squirrel@68.95.232.238> <20050802174445.GA47508@nowhere>

next in thread | previous in thread | raw e-mail | index | archive | help
Sigh, that's what I get for editing before I finish writing.

On Tue, Aug 02, 2005 at 12:44:45PM -0500, Craig Boston wrote:
> It's a very remote chance yes, but why 

...but why take that chance when mkdir works perfectly fine?  Chances
are mkdir will be used at some point during the rc.d startup anyway, so
forking a process for an executable in the cache (or bringing it into
the cache so it can be used later) is a negligible performance loss,
especially when it only happens once.

Craig



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