Re: [expert] hdparm permanent settings?

2001-01-23 Thread woody

Tim Lee wrote:
 
 Hi,
 
 Does anyone know how to make settings with the utility
 hdparm become permanent?  I can set them in one of the
 init scripts but I would like my settings enabled as
 soon as possible in the boot process since they might
 affect boot performance.
 

put a hdparm command in /etc/rc.sysinit * right after:

# Rerun ourselves through initlog
if [ -z "$IN_INITLOG" ]; then
 [ -f /sbin/initlog ]  exec /sbin/initlog $INITLOG_ARGS -r
/etc/rc.sysinit
fi

rc.sysinit is the very first file run at boot AFAIK.

Enjoy,
 
 Woody ([EMAIL PROTECTED])

* may be /etc/rc.d/rc.sysinit if you have a = 7.1 MDK install.

---
Gatewood Green Web Developer
http://www.linux.org/  The first stop for Linux info on the Net
Email: [EMAIL PROTECTED]
---
All opinions expressed by me are my own and not necessarily
endorsed by Linux Online, Inc. or Linux Headquarters, Inc.




Re: [expert] hdparm permanent settings?

2001-01-22 Thread Salane King

On Monday 22 January 2001 20:28, Tim Lee wrote:
 Hi,

 Does anyone know how to make settings with the utility
 hdparm become permanent?  I can set them in one of the
 init scripts but I would like my settings enabled as
 soon as possible in the boot process since they might
 affect boot performance.

 Regards,

Add them to the end of the file /etc/rc.d/rc.local




Re: [expert] hdparm permanent settings?

2001-01-22 Thread Steven W. Laird

On Monday 22 January 2001 17:28, Tim Lee wrote:
 Hi,

 Does anyone know how to make settings with the utility
 hdparm become permanent?  I can set them in one of the
 init scripts but I would like my settings enabled as
 soon as possible in the boot process since they might
 affect boot performance.

 Regards,

Append the commands you want to your /etc/rc.d/rc.local file. Boot 
performance?? You must be a dual booter? I was worried about this too, but I 
realized I only rebooted about once a week or so...
--
Steve