[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hdparm.mod - get/set ATA disk parameters
From: |
Robert Millan |
Subject: |
Re: [PATCH] hdparm.mod - get/set ATA disk parameters |
Date: |
Sat, 21 Feb 2009 14:05:11 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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."
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Robert Millan, 2009/02/07
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/07
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Robert Millan, 2009/02/07
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/07
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Robert Millan, 2009/02/07
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/09
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/12
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/14
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters,
Robert Millan <=
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/21
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Robert Millan, 2009/02/21
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Christian Franke, 2009/02/21
- Re: [PATCH] hdparm.mod - get/set ATA disk parameters, Robert Millan, 2009/02/21