1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-23 21:24:13 +02:00

hd-idle: add page (#17466)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
mihailstoynov 2025-08-15 07:45:08 +03:00 committed by GitHub
parent 2f0f110fe4
commit a6ad01b08b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/linux/hd-idle.md Normal file
View file

@ -0,0 +1,16 @@
# hd-idle
> Spin down external disks after a period of idle time.
> More information: <https://manned.org/hd-idle>.
- Start a service to manage hard drive spin down. By default hard disks will spin down after 10 minutes of inactivity:
`systemctl start hd-idle`
- Spin down a disk immediately:
`hd-idle -t {{/dev/sdX}}`
- Set disks to never spin down, then set explicit idle times (in seconds) for disks which have "sda" or "sdb" in their device name:
`hd-idle -i 0 -a /dev/sda -i {{300}} -a /dev/sdb -i {{1200}}`