From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 27 13:14:42 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5135E106566B for ; Wed, 27 Jan 2010 13:14:42 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id D90F28FC21 for ; Wed, 27 Jan 2010 13:14:41 +0000 (UTC) Received: by ewy10 with SMTP id 10so1236065ewy.3 for ; Wed, 27 Jan 2010 05:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=fEKlc6lrZ5Cz7/Jv+QoSDmCrtS/OZ/G72fYgiSJEBZ4=; b=OFL6y3Q+wM3pj1rJHOQ1EH63hD+Qhpamv3eCIsyoJZ1ecwXxsbsdZhQBlEdxEsEdIt 7YcplK2LlWM1m5uwXf1cfunYb0MalacwEk1ctJRrUZkGBdpFF4dxGkXlD47RW936JDDZ bKE2PvXIugWnGPcJ2yLlN2EM1r5JpZjOv3h3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=QFKiyhWuRkWN/R3KeiakfcmhN2/dyI7B3U/1ujrirE3Kcmc2tT0m+v3hn7C6zh/H34 HAbHq1WcabcYLq5FUJkkrERMOD1WnOr/ZPuL5KuIVGklIfnpacpqy8YPOnDE+Zo0Jnth 1g+qfw6HnJAIscI0164vdp5EsP3yLl6+mZer8= MIME-Version: 1.0 Sender: mozolevsky@gmail.com Received: by 10.213.15.19 with SMTP id i19mr5370904eba.65.1264598080346; Wed, 27 Jan 2010 05:14:40 -0800 (PST) In-Reply-To: <201001271234.o0RCYvbe040070@lurza.secnetix.de> References: <201001271234.o0RCYvbe040070@lurza.secnetix.de> From: Igor Mozolevsky Date: Wed, 27 Jan 2010 13:14:20 +0000 X-Google-Sender-Auth: cb4112010eac87e1 Message-ID: To: freebsd-hackers@freebsd.org, alexbestms@wwu.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Spin down HDD after disk sync or before power off 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: Wed, 27 Jan 2010 13:14:42 -0000 2010/1/27 Oliver Fromme : > Second, you should make sure that ATA_STANDBY_IMMEDIATE is > only used when a poweroff is requested, but not in other > cases. =C2=A0Of course, ATA_FLUSHCACHE should *always* be sent. Would SLEEP not be a better option than STANBY IMMEDIATE, as SLEEP actually turns the disk's interface off so the disk cannot be woken up by any command other than RESET? Cheers, -- Igor