Before i go and execute this gem and possibly fry my drives, could you
elaborate on what this is supposed to do?

--- Douglas J Hunley <[EMAIL PROTECTED]> wrote:
> #!/bin/sh
> for d in /proc/ide/hd*
> do
>  if [ `cat $d/media` = 'disk' ] ; then
>     hdparm -qm8 -qu1 -qd1 -qW1 /dev/${d##*/}
>   fi
>   if [ `cat $d/media` = 'cdrom' ] ; then
> 
>     hdparm -qu1 -qd1 /dev/${d##*/}
>   fi
> done


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman                          [EMAIL PROTECTED]

Linux FAQ & Step-by-step help:     http://netllama.ipfox.com

                                                 .

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to