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

Re: Turn on DMA on boot

On 03 Jul 2003, Shri Shrikumar wrote:
> On Wed, 2003-07-02 at 23:37, Shyamal Prasad wrote:
> >     "Dan" == Dan Collis Puro <dpuro@mindspring.com> writes:
> > 
> >     Dan> Anyway: What would be the most "Debian" way to turn on DMA
> >     Dan> (essentially run "hdparm -d1 /dev/hda") on boot? I could
> >     Dan> (probably) add something in /etc/rc2.d, but that just seems
> >     Dan> dirty.
> > 
> > The commonly accepted "Debian way" seems to be
> > 
> > # apt-get install hwtools
> > # vi /etc/init.d/hwtools
> If you are doing custom kernels, I think that there is an option in
> there as well.
> Shri

I have  a file: /etc/init.d/rc.local in which I put the above command
plus other stuff I want started at boot. As far as I know this is a
"Debian approved" method. There is a skeleton file in /etc/init.d/
which shows you how to write suitable files.


ac@acampbell.org.uk    ||  http://www.acampbell.org.uk
using Linux GNU/Debian ||  for book reviews, electronic 
Windows-free zone      ||  books and skeptical articles

Reply to: