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:
parent
2f0f110fe4
commit
a6ad01b08b
1 changed files with 16 additions and 0 deletions
16
pages/linux/hd-idle.md
Normal file
16
pages/linux/hd-idle.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue