LogoopenSUSE Build Service > Projects
Sign Up | Log In


Spindown (from the web page http://code.google.com/p/spindown/)

Spindown is a daemon that can spindown idle disks and so saving energy and giving the disks a longer lifetime. It works by checking how many blocks are read and written from the disks. When no blocks are read or written the disk is idle. When a disk stays idle long enough spindown uses sg_start to spin the disk down. It also works with usb disks and hotswappable disks because it doesn't watch the device name (hda, sdb, ...), but the device id. This means that it doesn't matter if the disk is swapped while the deamon is running.

So, if your command parameter used to read "command = --stop" it should now read "command = sg_start --stop".

This has been done because some users had trouble spinning IDE disks down and had to use hdparm. I'm sorry for the inconvenience.

    * Configure every disk separately
    * Logging trough syslog
    * Easy to configure
    * Spindown hot swappable disks 


Spindown only depends on sg_start. This tool is part of the package sg3-utils (in Debian). You can find the sources here: The Linux SCSI Generic (sg) Driver

It also uses the iniparser3.0b library by Nicolas Devillard. It's a great library for parsing ini files and made writting this program a lot easier for me. I've included iniparser into the code because no distribution I know of includes it. 

Source Files

This package has no files yet

Comments for home:mchristensen1:apps (0)

Login required, please login or signup in order to comment