From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 2 17:49:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C7D16A41F for ; Tue, 2 Aug 2005 17:49:52 +0000 (GMT) (envelope-from craig@tobuj.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855C343D48 for ; Tue, 2 Aug 2005 17:49:52 +0000 (GMT) (envelope-from craig@tobuj.gank.org) Received: by ion.gank.org (mail, from userid 1001) id 548622B4E6; Tue, 2 Aug 2005 12:49:52 -0500 (CDT) Date: Tue, 2 Aug 2005 12:49:50 -0500 From: Craig Boston To: diz@linuxpowered.com, vd@datamax.bg, freebsd-hackers@freebsd.org Message-ID: <20050802174949.GB47508@nowhere> Mail-Followup-To: Craig Boston , diz@linuxpowered.com, vd@datamax.bg, freebsd-hackers@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050802174445.GA47508@nowhere> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: [patch] rc.d/tmp (silly mkdir usage) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 17:49:52 -0000 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