Operating Systems > Linux and UNIX

/etc/rc.d and hdparm

<< < (2/2)

KernelPanic:

quote:Originally posted by The Master of Reality / B0b:
just put that line in "/etc/rc.d/rc.local"
(void main's probably gonna tell me to shut the fuck up or somethin..)

[ December 21, 2002: Message edited by: The Master of Reality / B0b ]
--- End quote ---


shut the fuck up!

Oh wait, i'm Tux, nevermind.

TheQuirk:
OH man, you saved my ass. Thanks!

voidmain:
Actually /etc/rc.d/rc.local is the file I used to run it out of when I needed to. The last few versions of Red Hat have not needed any tweaking on my systems. However, there actually is a file for this in Red Hat called /etc/sysconfig/harddisks which is a template for a configuration file. For instance, copy that file along with the name of the hard drive you want to tune like so:

# cp /etc/sysconfig/harddisks /etc/sysconfig/harddiskhda

and modify the new file to your liking. It already looks for this file in the rc.sysinit.  At least RH 7.3 and 8.0 do, don't remember if 7.2 did. If you have a file called /etc/sysconfig/harddisks then it does.

[ December 21, 2002: Message edited by: void main ]

TheQuirk:

quote:Originally posted by void main:
Actually /etc/rc.d/rc.local is the file I used to run it out of when I needed to. The last few versions of Red Hat have not needed any tweaking on my systems. However, there actually is a file for this in Red Hat called /etc/sysconfig/harddisks which is a template for a configuration file. For instance, copy that file along with the name of the hard drive you want to tune like so:

# cp /etc/sysconfig/harddisks /etc/sysconfig/harddiskhda

and modify the new file to your liking. It already looks for this file in the rc.sysinit.  At least RH 7.3 and 8.0 do, don't remember if 7.2 did. If you have a file called /etc/sysconfig/harddisks then it does.

[ December 21, 2002: Message edited by: void main ]
--- End quote ---


It has it, in case anyone was wondering.

Navigation

[0] Message Index

[*] Previous page

Go to full version