LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2003, 03:55 PM   #1
danny678010
LQ Newbie
 
Registered: Oct 2002
Location: Manchester - UK
Distribution: Redhat 8.0
Posts: 17

Rep: Reputation: 0
Question setting using dma flag on hard drive?


I am running as root
/sbin/hdparm -d1 /dev/hdb
which is great, it reads at least twice as fast, but when I reboot it defaults back to off. Can I set this to on permanently in a file somewhere? Or get that command to run at boot time?
 
Old 08-27-2003, 04:17 PM   #2
swiftnet
Member
 
Registered: Aug 2003
Location: Florida, USA
Distribution: Mandrake, Knoppix, Yoper
Posts: 97

Rep: Reputation: 19
You can set the parameters in your rc.local file. I don't know which distro you have, but on mine it is under /etc/rc.d/
just make a comment as to what the line does
# Turn HD DMA On
/sbin/hdparm -d1 /dev/hdb
 
Old 08-27-2003, 06:54 PM   #3
danny678010
LQ Newbie
 
Registered: Oct 2002
Location: Manchester - UK
Distribution: Redhat 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
The possibilities are now endless

Cheers Mate!
 
Old 08-27-2003, 08:43 PM   #4
swiftnet
Member
 
Registered: Aug 2003
Location: Florida, USA
Distribution: Mandrake, Knoppix, Yoper
Posts: 97

Rep: Reputation: 19
Thumbs up So True!

Linux and OSS never cease to amaze me!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
can't turn DMA on my hard drive slzckboy Linux - General 6 09-24-2005 01:26 PM
DMA Mode of Hard Drive Ace2005 Linux - Hardware 6 07-21-2005 07:23 AM
is it possible to set up a network to hard drive dma jwstric2 Programming 5 06-24-2004 04:03 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration