Re: Problem with hdparam
- From: Antoninus Twink <nospam@xxxxxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 22:41:14 +0200 (CEST)
On 10 Apr 2008 at 19:06, Mark Berry wrote:
I'm trying to use the -k (or -K) switch to hdparam, which is meant to
keep settings after a restart.
But if I do
hdparam -k1 /dev/hda
and then reboot, calling
hdparam -k /dev/hda
to find the "keep settings" status shows that it's now turned itself off
again!
Can anyone explain what's going on?
First up, the program is called hdparm, not hdparam.
As to your problem, you're misunderstanding what the -k and -K flags do:
they preserve certain settings (dmu options for -k, and APWSXZ options
for -K), but only across soft resets (e.g. if the IDE bus gets reset as
part of an error recovery sequence) - there's no reason to expect the
flags to preserve anything across a reboot.
.
- Follow-Ups:
- Re: Problem with hdparam
- From: Mark Berry
- Re: Problem with hdparam
- References:
- Problem with hdparam
- From: Mark Berry
- Problem with hdparam
- Prev by Date: Re: Parentheses and compiler optimzation
- Next by Date: Re: Parentheses and compiler optimzation
- Previous by thread: Re: Problem with hdparam
- Next by thread: Re: Problem with hdparam
- Index(es):
Relevant Pages
|