Permanent HD spindown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm writing code for an embedded system that has drive heat problems.  I don't
have control over the applications on the box, but I'm responsible for making
sure that if the drive gets too hot, I spin it down and it stays down.

"hdparm -y /dev/xxx" works great for spinning down the drive, but it doesn't
make things permanent.  If any of the apps tries a read or a write, linux
happily spins up the drive again.

I can go muck around in the linux ATA driver and try to break whatever is
re-activating the drive, but it would be much nicer if there were some standard
interface for doing the same thing.

Any suggestions?

Thanks,
Dave



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux