hdparm-rc scripts -- was: Re: [olug] RE: HDC: Lost Interrupt Error

Brian Wiese bwiese at cotse.com
Fri Apr 18 22:05:42 UTC 2003


Does anyone know what the corresponding file would be in a Debian based
system?  

// directory structure
bwiese at braveheart:etc$ ls -l rc
rc.EthStatus  rc0.d         rc2.d         rc4.d         rc6.d
rc.boot       rc1.d         rc3.d         rc5.d         rcS.d

I imagine putting someting in rc.boot/ but the man page says:
"The  /etc/rc.boot  directory is obsolete"

Whats another good system startup file to put commands like this in
besides /etc/inittab??  Isn't one of the rcX.d directories scripts always
run - for any runlevel?  ... Ok, found it, scripts in /etc/rcS.d/ get
executed for all runlevels.  But isn't there another script?  Maybe not.
=)

peace
Brian


On Fri, 18 Apr 2003 09:48:39 -0500 (CDT)
Adam Haeder <adamh at omaha.org> wrote:

|Put these lines at the end of you /etc/rc.d/rc.local file:
|
|hdparm -c 1 /dev/hda
|hdparm -d 1 /dev/hda
|
|The first one turns on 32bit io, the second turns on dma.
|
|Verify with:
|hdparm /dev/hda
|
|Repeat for each hard drive.
|
|--
|Adam Haeder
|Assistant Vice President of Information Technology
|AIM Institute
|adamh at omaha.org
|(402) 345-5025 x115
|PGP Public key: http://www.omaha.org/~adamh/pgp.html


More information about the OLUG mailing list