From owner-freebsd-ports@FreeBSD.ORG Wed May 6 09:21:48 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 ABDB7106564A for ; Wed, 6 May 2009 09:21:48 +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 3D4E48FC17 for ; Wed, 6 May 2009 09:21:47 +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 n469Lk00013745; Wed, 6 May 2009 11:21:46 +0200 Received: from localhost (localhost [127.0.0.1]) by alanya.lupe-christoph.de (Postfix) with ESMTP id 534082C006; Wed, 6 May 2009 11:20:41 +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 CYxiRsee8ZJl; Wed, 6 May 2009 11:20:40 +0200 (CEST) Received: by alanya.lupe-christoph.de (Postfix, from userid 1000) id E1CED2C2BD; Wed, 6 May 2009 11:20:40 +0200 (CEST) Date: Wed, 6 May 2009 11:20:40 +0200 From: Lupe Christoph To: ports@freebsd.org Message-ID: <20090506092040.GG10207@lupe-christoph.de> Mail-Followup-To: ports@freebsd.org, munin-users@lists.sourceforge.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: munin-users@lists.sourceforge.net Subject: 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 09:21:48 -0000 I just received a PR for munin-node, complaining about error messages related to the lack of a hdparm command on FreeBSD. The munin-plugin hddtemp_smartctl tries to find out if a disk is spun down by invoking hdparm -C $fulldev. The plugin will skip the invocation of smartctl on such disks. Since it is really a bad idea to spin up a disk to ask it for its temperature - with what can I replace that command on FreeBSD? Thanks for your help, Lupe Christoph -- | There is no substitute for bad design except worse design. | | /me |