Messages in this thread | | | Date | Wed, 1 Sep 2004 22:43:26 -0700 | From | Andrew Morton <> | Subject | Re: prevent hdd spin-down at system halt |
| |
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(). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |