* prevent hdd spin-down at system halt
[not found] <5d0f609904083107571d78a41@mail.gmail.com>
@ 2004-09-01 10:01 ` Dirk Jagdmann
2004-09-01 10:42 ` Alan Cox
0 siblings, 1 reply; 3+ messages in thread
From: Dirk Jagdmann @ 2004-09-01 10:01 UTC (permalink / raw)
To: linux-kernel
Hello developers,
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 not, what would be the appropriate places in the sources where the
spin-down requests are sent to hard disks upon system halt?
I'm currently using x86 with IDE drives, but I think the (eventual)
solution should be platform independent.
--
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: prevent hdd spin-down at system halt
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
0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2004-09-01 10:42 UTC (permalink / raw)
To: Dirk Jagdmann; +Cc: Linux Kernel Mailing List
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: prevent hdd spin-down at system halt
2004-09-01 10:42 ` Alan Cox
@ 2004-09-02 5:43 ` Andrew Morton
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2004-09-02 5:43 UTC (permalink / raw)
To: Alan Cox; +Cc: jagdmann, linux-kernel
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().
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-02 5:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.