Guillaume Rousse a �crit :
>
> Maybe i'm wrong, but i remember having seen hdparm settings in rc.locale
> or in mandrake.everytime script before (is 7.1, i think). Now i can't
> find any 'hdparm' pattern in my entire etc directory, and everything
> seems to be trigerred by lilo autotune=1 option at boot time. Is this
> right ?
I found the old 7.0 /etc/init.d/mandrake.everytime, here is the hdparm
section :
# Optimisation of Hard drive.
if grep -qi opti /proc/cmdline || [ -n "$HDPARM" ]; then
if [ -x /sbin/hdparm ];then
LIST_HD=$(grep '^hd.:' /var/log/dmesg|\
grep -ivE '(CD.*ROM|FLOPPY|TAPE|STATUS)'|cut -d: -f1|sort|uniq)
if grep -i nohdparm /proc/cmdline >/dev/null ; then
action "Hard Drive optimisations disabled" \
echo ""
else
for i in $LIST_HD;do
action "Starting Hard Drive optimisations for $i" \
hdparm -q -c1 -q -A1 -q -m16 -q -d1 /dev/$i
done
fi
fi
fi
Why has this been removed ? And where is it now ?
--
Guillaume Rousse
Murphy's law : If anything can go wrong, it will.
O'Tool's commentary : Murphy was an optimist.