From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 22 18:45:16 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA2BCF79 for ; Sun, 22 Feb 2015 18:45:16 +0000 (UTC) Received: from pmta1.delivery2.ore.mailhop.org (pmta1.delivery2.ore.mailhop.org [54.149.210.130]) by mx1.freebsd.org (Postfix) with ESMTP id 8879D3DD for ; Sun, 22 Feb 2015 18:45:15 +0000 (UTC) Received: from smtp1.ore.mailhop.org (172.31.36.112) by pmta1.delivery1.ore.mailhop.org id ht8hq620r84s for ; Sun, 22 Feb 2015 18:44:50 +0000 (envelope-from ) Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp1.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YPbWl-0007ak-VK; Sun, 22 Feb 2015 18:45:16 +0000 Received: from fb864.hippie.lan (fb864.hippie.lan [172.22.42.242]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t1MIjDtY003479; Sun, 22 Feb 2015 11:45:14 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1/8XUYZ4zNLVqOul0qAO61n Message-ID: <1424630713.56366.20.camel@freebsd.org> Subject: Re: disk powerdown From: Ian Lepore To: Wojciech Puchar Date: Sun, 22 Feb 2015 11:45:13 -0700 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 18:45:16 -0000 On Sun, 2015-02-22 at 10:54 +0100, Wojciech Puchar wrote: > how to turn off laptop magnetic drive (SATA) automatic powerdown feature. > it turns down and up lots of time in my laptop to save a little of power > and destroy drive much quicker :) and being so annoying. > Create an /etc/rc.local (if you don't have one already) and put this in it: camcontrol idle ada0 -t 0 Put one of those lines for each drive. -t 0 disables spindown. Instead of zero you can put the number of seconds of idle time you want before the drive spins down. To manually spin down a drive immediately: camcontrol standby ada0 -- Ian