Re: Problem with hdparam
- From: Mark Berry <nospam@xxxxxxxxxx>
- Date: Thu, 10 Apr 2008 23:42:22 +0100
Aha, that explains it! It's slightly annoying, though...
Thanks to everyone who answered.
Antoninus Twink wrote:
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 - TPA
- From: Default User
- Re: Problem with hdparam - TPA
- References:
- Problem with hdparam
- From: Mark Berry
- Re: Problem with hdparam
- From: Antoninus Twink
- Problem with hdparam
- Prev by Date: Re: Questions about mmap()
- Next by Date: Re: [OpenCV] Extract en recognize barcode from image file.
- Previous by thread: Re: Problem with hdparam
- Next by thread: Re: Problem with hdparam - TPA
- Index(es):
Relevant Pages
|