From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay03.ispgateway.de ([80.67.18.15]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RpkjE-0008LE-Qy for ptxdist@pengutronix.de; Tue, 24 Jan 2012 19:04:23 +0100 Received: from [88.217.112.198] (helo=galilei.fritz.box) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1RpkjE-0002TD-DJ for ptxdist@pengutronix.de; Tue, 24 Jan 2012 19:04:20 +0100 Message-ID: <4F1EF2A4.7060701@bwalle.de> Date: Tue, 24 Jan 2012 19:04:20 +0100 From: Bernhard Walle MIME-Version: 1.0 References: <1327265267-48214-1-git-send-email-bernhard@bwalle.de> <20120124091901.GL12400@pengutronix.de> In-Reply-To: <20120124091901.GL12400@pengutronix.de> Subject: Re: [ptxdist] [PATCH] Support reading number of CPUs on Mac OS X Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi Michael, Am 24.01.12 10:19, schrieb Michael Olbrich: > > - Is sysctl alwyas in $PATH? On Linux it's in sbin. I think so, but it's in /usr/sbin, so I can use /usr/sbin/syctl to be more safe. > - the value should be quoted. ok. > - Does this _always_ and _only_ work on Mac OS X? Good point. I have no other system than Linux and Mac OS here, but according to http://systhread.net/texts/200008sysctl.php it should work on all BSDs, so yes, your solution is better. Will create a new version of the patch later in the evening. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de