On Tue, 2003-01-07 at 04:31, Elijah wrote:
> Hi!
> 
> I've been having problems with my second drive (hdd) since everytime I
> browse through it pauses on occasion and gives some I/O errors. I
> somehow solved it with hdparm:
> hdparm -c 1 /dev/hdd
> hdparm -d 1 /dev/hdd
> hdparm -k 1 /dev/hdd
> 
> I'm quite sure the -k option will keep these settings for my hdd but
> after reboot, it did'nt. So it made me look for rc.local to put these
> commands to, but I just can't find it(?). I put them commands to
> /etc/rc.boot/ and made a script there with the commands. Everything
> seems to go well. But to make sure ... am what I doing alright? is this
> the proper way to setup my hdd?

Install the hwtools package.  Among other things, it will create
the file /etc/init.d/hwtools and /etc/rcS.d/S60hwtools will be a
symlink to it.  There is where you can put all the hdparm stuff.

Also, note that you can put all your options on 1 command line:
hdparm -c 1 -d 1 -k 1 /dev/hdd

-- 
+------------------------------------------------------------+
| Ron Johnson, Jr.     mailto:[EMAIL PROTECTED]          |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
|                                                            |
| "Basically, I got on the plane with a bomb. Basically, I   |
|  tried to ignite it. Basically, yeah, I intended to damage |
|  the plane."                                               |
|    RICHARD REID, who tried to blow up American Airlines    |
|                  Flight 63                                 |
+------------------------------------------------------------+


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to