[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Turn on DMA on boot

On Thu, Jul 03, 2003 at 03:50:52PM +0200, Mathias Gygax wrote:
> > Long time linux user, recent Debian convert. I like it. I like it a lot.
> > All my redhat servers are going the way of the dodo to be replaced by
> > Debian, slowly but surely.
> > 
> > Anyway:  What would be the most "Debian" way to turn on DMA (essentially
> > run "hdparm -d1 /dev/hda") on boot? I could (probably) add something in
> > /etc/rc2.d, but that just seems dirty.
> i've put my DMA settings in /etc/init.d/bootmisc.sh. this script will
> also be executed in single user mode (and runlevel 2, too).

wuah, forget what i said. it seems the correct way is to enable the
hdparm setup in /etc/init.d/hwtools and do the stuff there. hwtools init
scrip will also be started in single user mode.

i just noticited it, after reading the thread. my setup comes from the
old days, where we do now have a prepared startup script. while the hwtools
package doesn't provide hdparm, it contains the setup script for it.

my apologizes for spreading out-of-date information.

 - regards, turrican

Reply to: