prevent hdd spin-down at system halt
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
Quoted 3 lines · Dirk Jagdmann
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.
Quoted 11 lines · Alan Cox
Quoted 3 lines · Dirk Jagdmann
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().