lkml.org 
[lkml]   [2001]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: making an ide hd sleep
Marcelo Borges Ribeiro wrote:

>Hi, I´d like to know if it's possible to put an ide hd to sleep after (for
>example) 15 min. idle (i don´t know if an hd under linux stays idle that
>amount of time. ). I tried mount -o noatime and hdparm -S 150 /dev/hda, but
>it seems that when it sleeps it starts working after a few seconds (when it
>sleeps!). Is there a way to have this feature under linux?
>
This is more difficult that it sounds. Section 4 of the Battery-Powered
mini HOWTO (which is a bit out of date) has some useful advice. You are
doing it right...but something is touching the filesystem (or swap) on
the drive. It would be nice if there would be some way of enabling
logging to say what process touched the filesystem. Of course the
logging itself would touch the filesystem (on a laptop :)).

http://www.linuxdoc.org/HOWTO/mini/Battery-Powered-4.html

-todd

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.062 / U:1.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site