On Mon, 22 May 2000, Denis HAVLIK wrote:
> On Mon, 22 May 2000, Colin L. Whipple wrote:
> 
> :~>It would also be nice to have a little more info about what the "hard disk
> :~>optimizations" means.  Just how likely is it that problems will result from
> :~>checking that box?  What is being optimized?
> 
> Instead of giving you a fish, I'll try to learn you fishing .-)
> 
> see "/etc/rc.d/init.d/mandrake_everytime" file:
> 
> 
>     if [ -x /sbin/hdparm ];then
>         LIST_HD=$(grep '^hd.:' /var/log/dmesg|\
>             grep -ivE '(CD.*ROM|DVD.*ROM|FLOPPY|TAPE|STATUS)'|cut
> -d: -f1|sort|u
> niq)
>         
>         if grep -i nohdparm /proc/cmdline >/dev/null ; then
>             action "Hard Drive optimisations disabled" \
>                 echo ""
>         else
>             for i in $LIST_HD;do
>                 action "Starting Hard Drive optimisations for $i" \
>                     hdparm -q -c1 -q -A1 -q -m16 -q -d1 /dev/$i
>             done
>         fi
>     fi
> ------------------------------------
> I suppose this answers the question?

Not that I can tell.  All that is total Greek to me.  Do you mean something like
the information at the following URL?:

http://www.linuxnewbie.org/nhf/intel/hardware/hdtweak.html

Colin

Reply via email to