[lug] RH Linux download + hdparm

Calvin Dodge caldodge at fpcc.net
Fri Oct 19 15:28:46 MDT 2001


On Fri, Oct 19, 2001 at 09:14:36PM +0000, Greg Horne wrote:
> I'm running Red Hat 7.0 with kernel 2.2.16-22, so do I set the option in 
> /etc/rc.d/rc.local?

Does the file "/etc/sysconfig/harddisks" exist?

If so - edit it, and uncomment (remove the "#" sign) the line "#USE_DMA=1".

On the next reboot, the init script _should_ enable DMA on the controller.

If the file does NOT exist, do:

echo '/sbin/hdparm -d 1 /dev/hda' >> /etc/rc.d/rc.local

Note the '>>' - you want to append the hdparm command, rather than wiping out rc.local.

Calvin

-- 
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net



More information about the LUG mailing list