From owner-freebsd-ports@FreeBSD.ORG Wed May 6 13:26:34 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 101DB106564A for ; Wed, 6 May 2009 13:26:34 +0000 (UTC) (envelope-from lupe@lupe-christoph.de) Received: from buexe.b-5.de (buexe.b-5.de [84.19.0.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8E79D8FC08 for ; Wed, 6 May 2009 13:26:33 +0000 (UTC) (envelope-from lupe@lupe-christoph.de) Received: from alanya.lupe-christoph.de (alanya.lupe-christoph.de [172.17.0.19]) by buexe.b-5.de (8.13.8/8.13.8/b-5/buexe-3.6.3) with ESMTP id n46DQVcp022699; Wed, 6 May 2009 15:26:31 +0200 Received: from localhost (localhost [127.0.0.1]) by alanya.lupe-christoph.de (Postfix) with ESMTP id D281A2C1B8; Wed, 6 May 2009 15:25:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at lupe-christoph.de Received: from alanya.lupe-christoph.de ([127.0.0.1]) by localhost (alanya.lupe-christoph.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HUtm6f-8p9EP; Wed, 6 May 2009 15:25:25 +0200 (CEST) Received: by alanya.lupe-christoph.de (Postfix, from userid 1000) id 57E612C2BD; Wed, 6 May 2009 15:25:25 +0200 (CEST) Date: Wed, 6 May 2009 15:25:25 +0200 From: Lupe Christoph To: "Sergey A. Kobzar" Message-ID: <20090506132524.GH10207@lupe-christoph.de> Mail-Followup-To: "Sergey A. Kobzar" , ports@freebsd.org, munin-users@lists.sourceforge.net References: <20090506092040.GG10207@lupe-christoph.de> <554220569.20090506124731@mail.ru> <20090506111242.GD24549@lupe-christoph.de> <883388359.20090506142905@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <883388359.20090506142905@mail.ru> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@freebsd.org, munin-users@lists.sourceforge.net Subject: Re: [munin-users] Replacement for "hdparm -C"? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 13:26:34 -0000 On Wednesday, 2009-05-06 at 14:29:05 +0300, Sergey A. Kobzar wrote: > This should help: > SMARTCTL(8): > -n POWERMODE, --nocheck=POWERMODE > Specifieds if smartctl should exit before performing any checks > when the device is in a low-power mode. It may be used to pre- > vent a disk from being spun-up by smartctl. The power mode is > ignored by default. The allowed values of POWERMODE are: That's what I get for trusting a change to the plugin was really necessary, an RTFM :-( Since this parameter was introduced "Thu Jul 20 20:59:45 2006 UTC (2 years, 9 months ago)" according to CVS, we can safely assume that it is available on all platforms. I'll send an accordingly modified plugin to the PR and the PR's sender for testing. When it tests OK, I'll do the change in the Munin SVN. Thanks a lot, Sergey! Lupe Christoph -- | There is no substitute for bad design except worse design. | | /me |