LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   setting using dma flag on hard drive? (https://www.linuxquestions.org/questions/linux-hardware-18/setting-using-dma-flag-on-hard-drive-86373/)

danny678010 08-27-2003 03:55 PM

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?

swiftnet 08-27-2003 04:17 PM

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

danny678010 08-27-2003 06:54 PM

The possibilities are now endless

Cheers Mate!

swiftnet 08-27-2003 08:43 PM

So True!
 
Linux and OSS never cease to amaze me!


All times are GMT -5. The time now is 08:02 AM.