hd-idle (1.21) unstable; urgency=medium [ Gray Xu ] * Use GivenName instead of Name in the log [ Andoni del Olmo ] * Support Jmicron USB Bridge Controller for ATA command -- Andoni del Olmo Sun, 22 Oct 2023 09:55:29 +0200 hd-idle (1.20) unstable; urgency=medium * Fix force hd-idle into background in init script * Fix missing man page -- Andoni del Olmo Fri, 17 Feb 2023 16:54:38 +0100 hd-idle (1.19) unstable; urgency=medium [ Benjamin Engele ] * Support more than 26 disks. [ Paul Webster ] * Use explicit uint64 [ Benjamin Engele ] * Use standby instead of stop command. * Support configuring power condition. * Add and describe -p parameter usage. * Adjusted documentation of power condition. [ Martin Oemus ] * fixed poolInterval calculation when using idle intervals of 0 [ Andoni del Olmo ] * fixed Use UNIX time to calculate skew interval -- Andoni del Olmo Thu, 09 Feb 2023 11:55:12 +0100 hd-idle (1.18) unstable; urgency=medium * fix cross platform compilation * simplify package generation in rules file * Complete the list of targets for the service restart -- Andoni del Olmo Wed, 17 Aug 2022 13:02:42 +0200 hd-idle (1.17) unstable; urgency=medium [ Alexander Raab ] * Readme cosmetics [ Andoni del Olmo ] * restart service after suspend * go mod tidy * Update readme with instructions to build with golang 17 or higher * Add Makefile * build debian package compiling with Makefile * document usage of LUKS encrypted devices * Redo explanation of how the log file works. Thanks to rabelux. * restart service after hibernate [ Sylvain Pasche ] * Get statistics from device mapper devices [ Andoni del Olmo ] * use /sys/class/block/%s/holders for holderGetter + add test * add test for statsForDisk -- Andoni del Olmo Thu, 28 Jul 2022 18:12:46 +0200 hd-idle (1.16) unstable; urgency=medium [ Maximilian Bichel ] * Update help and man page to inform that "i" parameter with value zero never spins down disks. [ Zhenyu Wu ] * Try both ATA standby commands before fail. -- Andoni del Olmo Sun, 05 Sep 2021 19:45:17 +0200 hd-idle (1.15) unstable; urgency=medium * Handle disks with no partitions. Encrypted disks do not have any partitions. In this case, the disk level activity has to be taken into consideration. -- Andoni del Olmo Mon, 05 Apr 2021 09:39:11 +0200 hd-idle (1.14) unstable; urgency=medium * Add logrotate for log file /var/log/hd-idle.log * Use partitions read/write to calculate disk activity: It changes the method to calculate disk activity. Now the disk activity is calculated by watching read/write changes on partition level instead of disk level. -- Andoni del Olmo Sun, 28 Mar 2021 14:34:51 +0200 hd-idle (1.13) unstable; urgency=medium * Fix crash when required arguments are not given. Now it will fail gracefully when required arguments are missing. * Add SystemV init script. -- Andoni del Olmo Thu, 04 Mar 2021 20:33:26 +0100 hd-idle (1.12) unstable; urgency=medium * Fix inconsistent spin down log. The release v1.11 changed the log output on spin down to "/dev/sda spindown". Now is back to the format "sda spindown". * Fix typo in help -h flag. This bug prevented showing the help on cli. -- Andoni del Olmo Sat, 05 Dec 2020 15:43:05 +0100 hd-idle (1.11) unstable; urgency=medium * Ignore sense response data for ata command to prevent error on arm64. * Allow set command type in combination with -t option. * Remove go-co-op dependency. * Clean control and man page. * Add copyright. * Update readme. No need for GOPATH anymore. -- Andoni del Olmo Sat, 31 Oct 2020 21:43:04 +0100 hd-idle (1.10) unstable; urgency=medium * Check sectors read/write to determine disk activity * Package. Move debian files to debian dir * Package. Simplify rules and delete config handle system * Update readme. Explain logs * Update readme. Entry to response not ok error -- Andoni del Olmo Sun, 09 Aug 2020 10:26:32 +0200 hd-idle (1.9) unstable; urgency=medium * Improve log on start up and ATA error reporting. -- Andoni del Olmo Wed, 11 Mar 2020 10:25:00 +0200 hd-idle (1.8) unstable; urgency=medium * Allow usage of symlinks that point to partitions. Like: by-label, by-partlabel, by-partuuid and by-uuid. * Improve error handling when spin down fails. -- Andoni del Olmo Wed, 23 Oct 2019 21:15:00 +0200 hd-idle (1.7) unstable; urgency=medium * Change package section to admin and priority to optional. * Fix man page format error. * Move man page to section 8 (System administration commands and daemons). * Sign package. -- Andoni del Olmo Sun, 8 Sep 2019 08:47:00 +0200 hd-idle (1.6) unstable; urgency=low * The parameter "-s" allows to resolve symlinks for disk names also in runtime. It is disable by default, because resolving symlinks causes an overhead. That means that disk symlinks only get resolved on start up by default. If the parameter "-s" is set to 1, disk symlinks will be also resolve during execution until the symlink is resolved. -- Andoni del Olmo Wed, 28 Aug 2019 19:33:00 +0100 hd-idle (1.5) unstable; urgency=low * Monitor the skew between monitoring cycles, on discovery of clock skew reset the drive spin_down status to "spun up" and reset the time to current in order to capture potential high loading or (more likely) recovery from suspend or sleep -- Andoni del Olmo Sat, 13 Aug 2019 21:15:00 +0100 hd-idle (1.4) unstable; urgency=low * The parameter "-a" now also supports symlinks for disk names. Thus, disks can be specified using something like /dev/disk/by-uuid/... Use "-d" to verify that the resulting disk name is what you want. Please note that disk names are resolved to device nodes at startup. Also, since many entries in /dev/disk/by-xxx are actually partitions, partition numbers are automatically removed from the resulting device node. * Simply log spinup. -- Andoni del Olmo Sat, 5 Jan 2019 18:42:00 +0100 hd-idle (1.3) unstable; urgency=low * Set sleep time to 1/10th of the shortest idle time. -- Andoni del Olmo Fri, 5 Oct 2018 20:47:10 +0100 hd-idle (1.2) unstable; urgency=low * Persist user's config across package upgrades. -- Andoni del Olmo Mon, 17 Sep 2018 22:03:10 +0100 hd-idle (1.1) unstable; urgency=low * Add missing feature to spin-down the specified disk immediately. -- Andoni del Olmo Sun, 16 Sep 2018 18:13:10 +0100 hd-idle (1.0) unstable; urgency=low * Add "ata" api call to stop devices on top of the original functionality. -- Andoni del Olmo Sun, 16 Sep 2018 10:01:10 +0100