Re: Laptop shock detection and harddisk protection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Elias Oltmanns
Date: Wednesday, September 17, 2008 - 8:21 am

Pavel Machek <pavel@suse.cz> wrote:

Yes, I know it *is* possible, I just think it may not be completely
trivial to get it right. The only way I can think of, right now, is some
sort of polling in the hdparm way, i.e. issuing a ATA_CMD_CHK_POWER from
time to time. The question is how we are to decide when and how often we
should poll for the current power state of the HD.


Well, this is true for resume. However, I can't help thinking that we
may do better than that until the disk spins down, particularly while
writing the image to disk.

Regards,

Elias
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Sun Aug 17, 12:51 pm)
Re: Laptop shock detection and harddisk protection, Elias Oltmanns, (Thu Sep 11, 1:00 pm)
Re: Laptop shock detection and harddisk protection, Elias Oltmanns, (Wed Sep 17, 8:21 am)
Re: Laptop shock detection and harddisk protection, Shem Multinymous, (Wed Sep 17, 12:36 pm)