grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hdparm.mod - get/set ATA disk parameters


From: Christian Franke
Subject: Re: [PATCH] hdparm.mod - get/set ATA disk parameters
Date: Sat, 21 Feb 2009 21:38:39 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11

Robert Millan wrote:
On Sat, Feb 21, 2009 at 07:00:06PM +0100, Christian Franke wrote:
Very interesting.  Do you think any of these features could be useful as a
default option in grub-mkconfig?

At least the --health check and --security-freeze are IMO recommended for each disk. Both is also done by a typical PC BIOS. AAM and standby settings are more user specific. The problem is that this relies on native ATA support which is now only available for controllers supported by ata.mod.

At least for the boot disk, such hdparm calls could be added by e.g. extending 'prepare_grub_to_access_device'.

But if the firmware already did, wouldn't this be a waste of boot time?


Yes, it would. Most BIOS perform both health check and security freeze, but some don't. For coreboot, it is not a waste of boot time.

So if this is added to grub-mkconfig, it should be configurable by some variable.

--
Christian Franke





reply via email to

[Prev in Thread] Current Thread [Next in Thread]