From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 19:12:08 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAB81106566C for ; Thu, 26 Mar 2009 19:12:08 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (unknown [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0FC8FC13 for ; Thu, 26 Mar 2009 19:12:08 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 15C0D38890; Thu, 26 Mar 2009 20:12:07 +0100 (CET) Date: Thu, 26 Mar 2009 20:12:07 +0100 From: Lars Engels To: Peter Jeremy Message-ID: <20090326191206.GA92358@e.0x20.net> Mail-Followup-To: Lars Engels , Peter Jeremy , Bruce Cran , Dimitry Andric , freebsd-current@freebsd.org References: <49BE7C5A.2080103@icyb.net.ua> <10611.1237233778@critter.freebsd.dk> <20090320074833.67d615e2@gluon> <49C37B75.5060905@andric.com> <20090320191938.25d85caa@gluon> <20090326085449.GB56137@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20090326085449.GB56137@server.vk2pj.dyndns.org> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Bruce Cran , Dimitry Andric , freebsd-current@freebsd.org Subject: Re: ata: printf on every spinup/spindown? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 19:12:09 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 26, 2009 at 07:54:49PM +1100, Peter Jeremy wrote: > On 2009-Mar-20 19:19:38 +0000, Bruce Cran wrote: > >There's a reluctance to include code like this, I > >think because it bypasses the ATA driver and talks directly to the > >drive. Since the driver doesn't know what the drive's been told to do, > >it can't know to adjust timers etc. to wait for the disk to spin back > >up, for example. >=20 > This code is no worse than installing sysutils/ataidle - which also > bypasses the driver. >=20 > As it stands, FreeBSD out-of-the-box behaves in a way that adversely > impacts laptop HDD life - and correcting this requires that the > end-user both be aware of the problem and then find, install and > configure a port to work around this. I am very uncomfortable with > this and would prefer to see the base system require less user > knowledge/intervention. AFAIK ataidle is under the BSD license, so we could include it in the base system. --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAknL04YACgkQKc512sD3afir+gCfRDEAsm3JVHKxLgZuADAzPj5O UNIAn2tsdnrEvrzVgxv+Z43W5QWL05y4 =L+BM -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--