Re: Running hdparm command at boot

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: plug-discuss
Subject: Re: Running hdparm command at boot
Steven wrote:
> After some tweaking and benchmarking with hdparm I've accelerated my hd
> from ~3.5mb/s to over 29mb/s. I'd like add the hdparm argument so that
> it runs everytime I boot my system. Is the /etc/rc.d/init.d file the
> correct place to add this command?


That's some performance gain. Would you consider doing a presentation at
a meeting talking about what you did? I'd certainly be interested.

[Note, this is only for RH/FC distros]
/etc/rc.d/init.d is a directory. If you want your command to become a
'service' that you can control using the 'service' command (e.g. service
myservicename [start|stop|restart]), you can put a script for
controlling it in this directory, and then use the service and chkconfig
commands to control when (which runlevels) it's executed. Note, these
scripts must contain certain standard comments (code disguised as
comments) to work properly. see man chkconfig.

If you have just a hdparm command you want issued whenever the system
boots, you can simply add it to the /etc/rc.d/init.d/rc.local file.
That's where customization for a specific machine would go. Note,
rc.local is executed after all other init scripts.
[/Note, this is only for RH/FC distros]

>
> Also, many thanks to Craig White for helping me solve my Fedora C3
> problems. After running 'yum update' all issues seem to be resolved and
> FC3 is running great. You're the /, Craig!


I'll second that sentiment.

>
> -Steven
>



-- 
-Eric 'shubes'
"There is no such thing as the People;
  it is a collectivist myth.
  There are only individual citizens
  with individual wills
  and individual purposes."
-William E. Simon (1927-2000),
     Secretary of the Treasury (1974-1977)
  "A Time For Truth" (1978), pg. 237



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss