On Sunday 12 August 2001 10:32 pm, Mike Andrew wrote:
> On Sunday 12 August 2001 23:43, Tim Wunder wrote:
> > Hi all,
> > Does anyone know how to use the hdparm.conf file in eW3.1?
>
> hdparm->boot time tweaking on the site below
>
> whatever happens, once you get it working please supply the info so I can
> ammend that page
>
> thanks.
eW3.1 uses a different rc.boot file than eD2.4, one that uses the
/etc/hdparm.conf file. Once I decided to actually READ the rc.boot script, I
found that the configuration of the hdparm.conf file is plainly given. I
guess next time I gotta read the entire script rather than just grep it
before asking the group. (The output of 'grep hdparm *' in the /etc/rc.d
directory caused my confusion. ) The relevant section:
# Setting up IDE hard drives
if [ -s /etc/hdparm.conf ]; then
# If this file is non-empty it is assumed that it contains one-line records
# per device. Each line should start with the device-name (module '/dev/')
# followed by a colon ':' and the specific hdparm-options for that device.
# E.g. to disable DMA for an older disk (or CD-ROM) you might write:
# ==snip==
# hda: -q -d 0
# ==snip==
_D=$(sed -ne 's/^\(hd[a-h]\):.*$/\1/p' /etc/hdparm.conf)
[ -n "$_D" ] && {
echo -n "Setting up IDE hard drives: "
for _d in $_D; do
eval set X $(sed -ne 's/^'$_d':[ ]//p' /etc/hdparm.conf); shift
hdparm "$@" /dev/$_d && echo -n " $_d"
done
echo "."
unset _d
}
unset _D
fi
The bottom line is that I created and /etc/hdparm file with hdb:X68 on its
only line and UDMA 4 is enabled upon reboot. I don't know if this is part of
the Linux Standard Base or not -- could be, I suppose.
Regards,
Tim
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users