hdparm settings, do they persist after reboots? hd performance

2002-01-25 Thread Walter Tautz
Just curious how this program accomplishes its changes
and whether the program has to run at boottime
to have the setting take effect? does it belong
in an rc script?


-walter



Re: hdparm settings, do they persist after reboots? hd performance

2002-01-25 Thread Jason Majors
 Just curious how this program accomplishes its changes
 and whether the program has to run at boottime
 to have the setting take effect? does it belong
 in an rc script?
Settings like dma do not persist between reboots. You need to either compile
it into your kernel or add it to a startup script.
I made my own and linked it to /etc/rc2.d/S90hdparm.
I don't know of a generic startup script you can add it to, like RH's
rc.local, but it wouldn't be the first time something exists, that I don't
know of. :



RE: hdparm settings, do they persist after reboots? hd performance

2002-01-25 Thread Brooks R. Robinson
| Just curious how this program accomplishes its changes
| and whether the program has to run at boottime
| to have the setting take effect? does it belong
| in an rc script?

They are not persistant after a reboot.  IIRC, there is no startup script
for hdparm, however; the hwtools package includes a hdparm section in it's
startup script.  Otherwise copy the /etc/init.d/skeleton and build your own.

HTH,

Brooks



Re: hdparm settings, do they persist after reboots? hd performance

2002-01-25 Thread Andre Berger
* Walter Tautz [EMAIL PROTECTED], 2002-01-25 16:36 -0500:
 Just curious how this program accomplishes its changes
 and whether the program has to run at boottime
 to have the setting take effect? does it belong
 in an rc script?

You could either put it into
/etc/init.d/bootmisc.sh
or apt-get install hwtools, which has a hdparm section in
/etc/init.d/hwtools.

-Andre


pgpGtRwZpdlSs.pgp
Description: PGP signature


hdparm settings

1999-10-26 Thread zdrysdal
Hi all

i have set a few hdparm settings to tune up my ide drive.. i however do not
know how to make those settings permanent as setting switch -k1 does not
seem to work.  Should i just set the settings everytime my machine is
rebooted in an init script or something??


thanx



Re: hdparm settings

1999-10-26 Thread Andrei Ivanov
Thats the idea. Make a small script in init.d directory and link from
runlevel /etc/rc*.d to it.
Andrew

 Hi all
 
 i have set a few hdparm settings to tune up my ide drive.. i however do not
 know how to make those settings permanent as setting switch -k1 does not
 seem to work.  Should i just set the settings everytime my machine is
 rebooted in an init script or something??
 
 
 thanx
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 UIN 12402354  
 http://scorpio.myip.org--All the pages bundled together.
-
-BEGIN PGP PUBLIC KEY BLOCK-
Version: 2.6.2

mQCNAzfWpdQAAAEEAMzkmzLbsfl+etaUcsbQtIL51PmO17r6hasF/FsXVXHjfDac
GtmQ81XlhWXNp0+u4d2818g3ue5wqMv9NOIAn/rV4WgWv3p8dpcwIAPCw0p3DM68
RpuTGKDSkQcFwzobva/qP+64PS/RF7EDlKHqd454Hk281CbLlPbozTjTC9fxAAUR
tAdTY29ycGlv
=znD+
-END PGP PUBLIC KEY BLOCK-



Re: hdparm settings

1999-10-26 Thread Matthew Gregan
On Tue, Oct 26, 1999 at 04:02:20PM +1300, [EMAIL PROTECTED] wrote:

 i have set a few hdparm settings to tune up my ide drive.. i however
 do not know how to make those settings permanent as setting switch -k1
 does not seem to work.  Should i just set the settings everytime my
 machine is rebooted in an init script or something??

The -k1 switch will only keep settings over a reset of the drive
controller, not of the machine.

To make hdparm settings permanent, write a little shell script, put it
in /etc/init.d and use update-rc.d to have it symlinked to the correct
places in the /etc/rc.* directories. You'll want to check out the man
page for update-rc.d first, if you haven't used it before.

An example:
# update-rc.d -n hdparm defaults

This will show you what changes it's going to make, assuming your script
in init.d is called 'hdparm'. If it the settings look good, remove the
'-n' and run again to actually make the links.

-- 
[ Matthew Gregan ]   [ GPG ID: B63A1E95 ]   [ [EMAIL PROTECTED] ]
[ GPG fingerprint:FB83 2911 F170 B31C 9E4A  E382 CA8A A2F6 B63A 1E95 ]


pgpGRMmxLKhYG.pgp
Description: PGP signature


Re: hdparm settings

1999-10-26 Thread Jean-Yves BARBIER
On Mon, Oct 25, 1999 at 10:19:55PM -0500, Andrei Ivanov wrote:
 Thats the idea. Make a small script in init.d directory and link from
 runlevel /etc/rc*.d to it.
 Andrew

Heeemm, hdparm is, by default, contained in script:
  /etc/rc.boot/hwtools
  
JY
-- 
Jean-Yves F. Barbier [EMAIL PROTECTED]
 Blinding speed can compensate for a lot of deficiencies.
-- David Nichols


Re: hdparm settings

1999-10-26 Thread Ingo Reimann
On Tue, Oct 26, 1999 at 11:36:37AM +0200, Jean-Yves BARBIER wrote:
 On Mon, Oct 25, 1999 at 10:19:55PM -0500, Andrei Ivanov wrote:
  Thats the idea. Make a small script in init.d directory and link from
  runlevel /etc/rc*.d to it.
  Andrew
 
 Heeemm, hdparm is, by default, contained in script:
   /etc/rc.boot/hwtools

Yummi,

could you be so kind to tell us, in which package this script should be? I
didn't find it on my system...

Ingo   


I. Reimann   [EMAIL PROTECTED]
Inst. fuer Angew. Physik +49 251 83-33527 (fon)
Correnstr. 2-4   +49 251 83-33513 (fax)
D-48149 Muenster
Germany



Re: hdparm settings

1999-10-26 Thread Jean-Yves BARBIER
On Tue, Oct 26, 1999 at 11:34:24AM +0200, Ingo Reimann wrote:
  Heeemm, hdparm is, by default, contained in script:
/etc/rc.boot/hwtools
 
 Yummi,
 
 could you be so kind to tell us, in which package this script should be? I
 didn't find it on my system...

Ooops, you're right, it's a different package from 'hdparm':
it is the 'hwtools' package.

JY
-- 
Jean-Yves F. Barbier [EMAIL PROTECTED]
 Blinding speed can compensate for a lot of deficiencies.
-- David Nichols