Net Llama babbled on about: > Before i go and execute this gem and possibly fry my drives, could you > elaborate on what this is supposed to do?
sure: disk -> m8 : multi-sector count set to 8, d1 -> dma mode on, u1 -> unmask irq, W1 -> turn on write-cache cdrom -> u1-> unmask irq, d1->dma mode on > > --- 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 -- Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778 Admin: http://linux.nf Admin: http://hunley.homeip.net PROGRAM - n. A magic spell cast over a computer allowing it to turn one's input into error messages. v. tr.- To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward. _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users