[Pkg-sysvinit-devel] Bug#465975: Bug#465975: reboot(8) spins down the disk

Henrique de Moraes Holschuh hmh at debian.org
Fri Feb 15 19:03:44 UTC 2008


On Sat, 16 Feb 2008, jidanni at jidanni.org wrote:
> Sitting real close to my Thinkpad in a very quiet room, I noticed
> # reboot
> spins down the disk momentarily! How wasteful.
> Seen with current sid stock kernel, etc.

Try this patch:

--- halt.dpkg-dist      2008-01-02 22:09:22.000000000 -0200
+++ halt        2007-09-23 18:36:16.000000000 -0300
@@ -39,7 +41,7 @@
        fi
 
        # Don't shut down drives if we're using RAID.
-       hddown="-h"
+       hddown=""
        if grep -qs '^md.*active' /proc/mdstat
        then
                hddown=""



Does it change anything?

I have *never* heard of halt screwing up on a reboot, though.  Just on
shutdown, and that was with the old, broken kernel behaviour.  What kernel
are you using?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh





More information about the Pkg-sysvinit-devel mailing list