From: Andrew Morton <akpm@osdl.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: jagdmann@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: prevent hdd spin-down at system halt
Date: Wed, 1 Sep 2004 22:43:26 -0700 [thread overview]
Message-ID: <20040901224326.56972733.akpm@osdl.org> (raw)
In-Reply-To: <1094035338.2399.33.camel@localhost.localdomain>
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
> On Mer, 2004-09-01 at 11:01, Dirk Jagdmann wrote:
> > is it possible to disable the spin-down (or powerdown) of hard disks
> > when halting the system, via the kernel cmd-line or some
> > configurations in /proc?
>
> If someone provides the shutdown infrastructure to determine the
> difference between shutdown/poweroff/return-to-firmware its easy. IDE
> already has an ifdef to handle this on Alpha SRM because the higher
> levels don't provide the ideal information.
>
People are using the system_state global for this. I guess this will suit
until it breaks, and we end up doing something else.
See sys_reboot().
prev parent reply other threads:[~2004-09-02 5:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5d0f609904083107571d78a41@mail.gmail.com>
2004-09-01 10:01 ` prevent hdd spin-down at system halt Dirk Jagdmann
2004-09-01 10:42 ` Alan Cox
2004-09-02 5:43 ` Andrew Morton [this message]
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=20040901224326.56972733.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jagdmann@gmail.com \
--cc=linux-kernel@vger.kernel.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