Antonio RodrX wrote:
Does anyone know of a good tutorial, or howto on hard drives? I would like to understand a little better this part of the hardware before playing with hdparm. Some hdparm bash script examples would be also welcome.
Here is my script: ken@pingu:~$ cat /etc/init.d/hdparm #!/bin/bash DRIVES="hda hdb" SETTINGS="-d 1 -m 16 -c 1 -a 1 -q -u 1 -W 1" case "$1" in start|restart) for dev in $DRIVES; do hdparm $SETTINGS /dev/$dev done ;; stop) ;; esac