lkml.org 
[lkml]   [1998]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: IDE freeze for seconds
On Thu, Dec 03, 1998 at 10:05:12PM +0100, Johnny Teveßen wrote:
> Quoting Pavel Machek (pavel@atrey.karlin.mff.cuni.cz):
>
> > Get bdflush-1.6 from sunsite, there's way to postpone writes until
> > disk is spinned up again. I believe this is what you want.
>
> That's interesting. I was told that there's no way to find out whether
> an IDE drive is spinning or not. At least not without spinning it up.

There is, unless it is in sleep mode. Check hdparm which can report the
driver power state: operation, idle, standby, sleep. The latter two with
stopped disks, the former two with spinning disks. To recover from sleep
mode, you will need a soft- or hardware reset.

--
Matthias Andree
--- How to obtain PGP public key
<mandree@dosis.uni-dortmund.de> <<< /finger/ this
<m_andree@line.org> <<< mail, subject "SEND PGP-PUBLIC-KEY"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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