From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] HDD with too aggressive power management
Date: Mon, 31 Jan 2011 15:31:20 -0600 [thread overview]
Message-ID: <AANLkTinH9d-cD49vjfm-g38tYNJigxjz9KtibQCgabZV@mail.gmail.com> (raw)
In-Reply-To: <20110131210940.GA16529@x7bj.fritz.box>
On Mon, Jan 31, 2011 at 3:09 PM, Nils Holland <nhg@tisys.org> wrote:
> Of course, manually executing "hdparm -B 254 -S 0 /dev/sda" after
> unplugging the machine fixes the issue again. However, something more
> "automated" would be prefered.
I had the same problem. My solution was to edit /etc/conf.d/local and
add the command into the local_start() function (before the return):
local_start() {
# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output)
hdparm -B 254 /dev/sd[abcdef]
# We should always return 0
return 0
}
and it automatically "fixes" my drives when I reboot.
next prev parent reply other threads:[~2011-01-31 22:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-31 21:09 [gentoo-user] HDD with too aggressive power management Nils Holland
2011-01-31 21:31 ` Paul Hartman [this message]
2011-01-31 22:16 ` Alan McKinnon
2011-01-31 23:08 ` Iain Buchanan
2011-02-01 21:08 ` Nils Holland
2011-02-02 20:44 ` Nils Holland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinH9d-cD49vjfm-g38tYNJigxjz9KtibQCgabZV@mail.gmail.com \
--to=paul.hartman+gentoo@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox