From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LarXh-0003sT-6Q for mharc-grub-devel@gnu.org; Sat, 21 Feb 2009 08:05:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LarXf-0003sF-Rw for grub-devel@gnu.org; Sat, 21 Feb 2009 08:05:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LarXe-0003s3-Cf for grub-devel@gnu.org; Sat, 21 Feb 2009 08:05:15 -0500 Received: from [199.232.76.173] (port=49018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LarXe-0003rq-AK for grub-devel@gnu.org; Sat, 21 Feb 2009 08:05:14 -0500 Received: from aybabtu.com ([69.60.117.155]:54309) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LarXd-0005yt-QX for grub-devel@gnu.org; Sat, 21 Feb 2009 08:05:14 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1LarR8-0006wX-5s for grub-devel@gnu.org; Sat, 21 Feb 2009 13:58:30 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1LarXb-0004Ck-8I for grub-devel@gnu.org; Sat, 21 Feb 2009 14:05:11 +0100 Date: Sat, 21 Feb 2009 14:05:11 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090221130511.GD16068@thorin> References: <497B9D35.5010703@t-online.de> <20090207213813.GF6343@thorin> <498E0F4F.6000503@t-online.de> <20090207225921.GX6343@thorin> <498E1560.7060106@t-online.de> <20090208003247.GA17277@thorin> <4994A0FF.5060808@t-online.de> <4996D18B.2060505@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4996D18B.2060505@t-online.de> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] hdparm.mod - get/set ATA disk parameters X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 13:05:16 -0000 On Sat, Feb 14, 2009 at 03:13:31PM +0100, Christian Franke wrote: > insmod ata_pthru (note that module dependencies should make this unnecessary) > insmod hdparm > > # Make sure disks cannot be locked by an ATA password > hdparm --quiet --security-freeze (ata4) > hdparm --quiet --security-freeze (ata6) > > menuentry "Boot" { > > # Check health > if hdparm --quiet --health (ata4) ; then echo -n ; else > echo "Warning: SMART status check failed" > read > fi > > # Set boot disk to "fast", disable spin down > hdparm --quiet --aam=254 --standby-timeout=0 (ata4) > > # Set other disk to "quiet", spin down after 5min inactivity > hdparm --quiet --aam=128 --standby-timeout=60 (ata6) > > # Boot ... > } > > menuentry "Memory Test" { > > # Spin down both disks after 10min > hdparm --quiet --standby-timeout=120 (ata4) > hdparm --quiet --standby-timeout=120 (ata6) > > # Load memtest ... > } Very interesting. Do you think any of these features could be useful as a default option in grub-mkconfig? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."