Re: patch to put IDE drives in sleep-mode after an halt

Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Thu, 24 May 2001 15:18:36 +0200


On Thu, May 24, 2001 at 02:59:18PM +0200, peter k. wrote:
> well, my new 40gb ones are auto-parking i think but all the other ones from
> last year aren't
> and older hardware (although 1 year isnt even old for a hd) should be
> supported by the kernel, right?

All drives with voice coils for head movement do auto park on power off
by design. Only really old drives with stepper motors (Seagate ST225
and friends, over 15 years old) don't do it, but the capacity of those
drives don't make it worthwile supporting anyway.

> plus, its really not difficult to implement spinning down the hds before
> halt anyway

It's so easy that it should be done from the init scripts instead of
from kernel. "hdparm -Y device" forces the drive to sleep mode.

> and then the kernel
> leaves the system as clean as it was before booting ;) !!

That's a silly argument. Why should the OS leave the system clean? It's
the boot code's task to set up the system in a proper way.

Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
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/