Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-12 00:14:27 +00:00
parent 77fd881bac
commit 5cc33140be
14 changed files with 32 additions and 32 deletions

View File

@@ -10,23 +10,23 @@ source: https://github.com/tldr-pages/tldr.git
- Request the identification info of a given device:
`sudo hdparm -I /dev/{{device}}`
`sudo hdparm -I {{/dev/device}}`
- Get the Advanced Power Management level:
`sudo hdparm -B /dev/{{device}}`
`sudo hdparm -B {{/dev/device}}`
- Set the Advanced Power Management value (values 1-127 permit spin-down, and values 128-254 do not):
`sudo hdparm -B {{1}} /dev/{{device}}`
`sudo hdparm -B {{1}} {{/dev/device}}`
- Display the device's current power mode status:
`sudo hdparm -C /dev/{{device}}`
`sudo hdparm -C {{/dev/device}}`
- Force a drive to immediately enter standby mode (usually causes a drive to spin down):
`sudo hdparm -y /dev/{{device}}`
`sudo hdparm -y {{/dev/device}}`
- Put the drive into idle (low-power) mode, also setting its standby timeout: