Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 02-17-03, 01:16 AM   #1
Registered User
Join Date: Feb 2003
Posts: 17
Send a message via AIM to rudemood12
Default where to save "hdparm" settings?

hey guys, i just followed a link from another thread to an HD tuning website for linux, and it mentions that i should --

"Be sure to add the above line to your /etc/rc.d/* scripts once you're sure the system is stable"

i found the rd.d file, but im not exactly sure where or how i should put my settings in there, its kind of a tricky looking file, or im not even sure if i got the right one... the tips from the article upped my hd transfers from 3.65MB/s sec to 25MB/s sec.!!!
rudemood12 is offline   Reply With Quote
Old 02-17-03, 04:03 AM   #2
Registered User
Join Date: Feb 2003
Posts: 4

That depends on which distribution you use:

- SuSE starts /etc/init.d/boot.local

- Debian starts every script in /etc/rc.boot
anar is offline   Reply With Quote
Old 02-17-03, 08:08 AM   #3
Registered User
Join Date: Sep 2002
Posts: 2,262

SysV init systems (RH, Mandrake, pretty much everything except Slackware I think) have a set of scripts in /etc/rc.d/init.d (of course, the directory may vary, but it should always be init.d, and it'll always be under /etc somewhere). One of the files in here will be executed last. Which file that is depends on the symlinks in /etc/rc.d/rc3.d (or rc5.d if you boot to runlevel 5). The symlinks in that directory that start with S get executed in alphabetical order, so the last S one that gets listed is what you're going to want to edit. On my system, that points at /etc/init.d/rc.local; on others, it may point at /etc/rc.d/init.d/rc.local, or even somewhere else. But edit that file and add your hdparm command to the bottom of it.

Alternatively, skip hdparm altogether and just recompile your kernel to have full support for your IDE chipset. The kernel will by default set the IDE controller to the highest speed it says it and the drive can support, and it'll also turn DMA on if you tell it to in the kernel configuration. There is no need for hdparm once you've done that.
Registered Linux User #219692
bwkaz is offline   Reply With Quote

Thread Tools

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU fan always at 100%, can not change the thermal settings legluondunet NVIDIA Linux 26 05-04-13 05:56 AM
RHEL 5.6 .nvidia-settings-rc settings un-applied on screen lock bluziff NVIDIA Linux 1 06-14-12 05:12 AM
302.11 driver only allows native resolution settings of laptop DFP darinmiller NVIDIA Linux 2 05-30-12 03:45 PM
Girls Impress FIRST Championship With Project That Could Save Lives (GeekDad Weekly R News Archived News Items 0 05-13-12 05:30 PM
Found Simpsons in NVIDIA registry settings! ShVen NVIDIA GeForce 7, 8, And 9 Series 6 10-06-02 09:26 PM

All times are GMT -5. The time now is 01:24 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.