I have installed hdparm. I can't find hdparm.conf in /etc/.
Is this in a different directory?

It might be on /usr, you can copy it to /etc and edit it there. If not, you can probably just make it yourself. Cheers!

  • [deleted]

The hdparm package ships without such file. You need to create it yourself.

created a new hdpar.con in /etc. I entered the following into this file:

command_line {
hdparm -S 120 /dev/disk/by-uuid/312cb74c-ee9e-4a50-adaa-677f2a61c50b
}

120 equals 10 minutes

it executes the command on the console, not in hdparm.conf
I enter the command via the console e.g.
sudo hdparm -S 20 /dev/disk/by-uuid/312cb74c-ee9e-4a50-adaa-677f2a61c50b
The value is adopted. Even after restarting the computer.

It's somehow strange and incomprehensible to me