Re: hdparm script (thanks)

2003-11-04 Thread Alfredo Valles
On Tuesday 04 November 2003 10:28 am, Nicolas Kowalski wrote: > # hdparm optimization > # Switches on interrupts during transfers and does multi sector transfers > if command -v hdparm >/dev/null 2>&1; then >hdparm -q -d1 -c3 -a4 -m16 -u1 -W0 /dev/hda >true Thanks Nicolas, Dennis and every

Re: hdparm script

2003-11-04 Thread Joel Konkle-Parker
Alfredo Valles wrote: > > Is there a template or guideline to follow in debian for making init > scripts? Take a look at the Debian Reference section on the boot process: http://www.debian.org/doc/manuals/reference/ch-system.en.html#s-boot -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone

Re: hdparm script

2003-11-04 Thread Nicolas Kowalski
Alfredo Valles <[EMAIL PROTECTED]> writes: > Hi all. > > Where should I put a script that sets my drives settings with hdparm? You can install the hwtools package, then edit the /etc/init.d/hwtools script. On my workstation, it contains, among other things: [...] # hdparm optimization # Switche

Re: hdparm script

2003-11-04 Thread [loonyx | rolf joho]
Alfredo Valles wrote: Is there a template or guideline to follow in debian for making init scripts? debian has a package called 'debian-policy' which provides useful information on how to do things 'debianish', eg. writing init-scripts and such, so i recommend installing that. -- To UNSUBSCRI

Re: hdparm script

2003-11-04 Thread Christian Schnobrich
On Tue, 2003-11-04 at 03:20, Alfredo Valles wrote: > Hi all. > > Where should I put a script that sets my drives settings with hdparm? > The sript itself should at any rate reside in /etc/init.d/ Then you create a link from wherever you'd like to get it started; I suggest putting it in /etc/rc2.

RE: hdparm script

2003-11-03 Thread Dennis van Turnhout
m ;-) Bye, Dennis -Original Message- From: Alfredo Valles [mailto:[EMAIL PROTECTED] Sent: dinsdag 4 november 2003 3:21 To: [EMAIL PROTECTED] Subject: hdparm script Hi all. Where should I put a script that sets my drives settings with hdparm? Is there a template or guideline to follow in

Re: hdparm script

2003-11-03 Thread Alexander Schmehl
* Johann Koenig <[EMAIL PROTECTED]> [031104 04:51]: > How about this part, from README.Debian: > These settings can now be set in either /etc/default/hdparm or in > /etc/apm/20hdparm. I advise against setting the same features in both - > unpredictable things could happen. > > And a quick look

Re: hdparm script

2003-11-03 Thread Alexander Schmehl
* Alfredo Valles <[EMAIL PROTECTED]> [031104 03:20]: > Where should I put a script that sets my drives settings with hdparm? There is a package called "hwtools" (or something similar), allready containing a /etc/init.d/hwtools, which is a proper Place to add your very own hdparm commandos. > Is

Re: hdparm script

2003-11-03 Thread Johann Koenig
On Monday November 3 at 10:47pm Alfredo Valles <[EMAIL PROTECTED]> wrote: > On Monday 03 November 2003 10:18 pm, Johann Koenig wrote: > > > > apt-cache search hdparm > > > > > > I don't see what you mean. I have hdparm installed. > > > > > > I just want it to run everytime the machine start. I th

Re: hdparm script

2003-11-03 Thread Alfredo Valles
On Monday 03 November 2003 10:18 pm, Johann Koenig wrote: > > > apt-cache search hdparm > > > > I don't see what you mean. I have hdparm installed. > > > > I just want it to run everytime the machine start. I think that > > /etc/rc.boot would be a good place for my init script but I'm not > > sure.

Re: hdparm script

2003-11-03 Thread Johann Koenig
On Monday November 3 at 09:58pm Alfredo Valles <[EMAIL PROTECTED]> wrote: > On Monday 03 November 2003 9:29 pm, Johann Koenig wrote: > > On Monday November 3 at 09:20pm > > > > Alfredo Valles <[EMAIL PROTECTED]> wrote: > > > Hi all. > > > > > > Where should I put a script that sets my drives set

Re: hdparm script

2003-11-03 Thread Alfredo Valles
On Monday 03 November 2003 9:29 pm, Johann Koenig wrote: > On Monday November 3 at 09:20pm > > Alfredo Valles <[EMAIL PROTECTED]> wrote: > > Hi all. > > > > Where should I put a script that sets my drives settings with hdparm? > > > > Is there a template or guideline to follow in debian for making

Re: hdparm script

2003-11-03 Thread Johann Koenig
On Monday November 3 at 09:20pm Alfredo Valles <[EMAIL PROTECTED]> wrote: > Hi all. > > Where should I put a script that sets my drives settings with hdparm? > > Is there a template or guideline to follow in debian for making init > scripts? > > Finally: Is there some way different from hdpar

hdparm script

2003-11-03 Thread Alfredo Valles
Hi all. Where should I put a script that sets my drives settings with hdparm? Is there a template or guideline to follow in debian for making init scripts? Finally: Is there some way different from hdparm to inform the kernel the behavior I want in my ide drives? Thanks in advance Alfredo