Michael W Cocke wrote:
On Tue, 14 Mar 2006 17:32:08 +0000, you wrote:
On Tue, 14 Mar 2006, in a serious and blatant case of a self-followup did forget to include some stuff when he wrote:-
YaST -> System -> /etc/syconfig Editor -> Hardware -> IDE -> DEVICES_FORCE_IDE_DMA
enter:
/dev/hda:-c1 /dev/hdc:-c1 You can also include other options for hdparm here by using the format:
<device>:<option>:<option>:<option>
Why do people insist on using a screwdriver to hammer nails?
Why do people insist on inventing any single type of wheel again and again? The distribution already has means to configure DMA.
If you know enough to fool around with hdparm, you should be able to master bash and an editor.
Ok, then: why not using a "for"-loop?
Put this in boot.local (adjust for your local hardware):
hdparm -A1 -c1 -d1 -m16 -u1 /dev/hda hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdb hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdc hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdd hdparm -A1 -c1 -d1 -m16 -u1 /dev/hde hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdf hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdg hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdh hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdi hdparm -A1 -c1 -d1 -m16 -u1 /dev/hdj
-- Viele Grüße ------------------------------------------------------------------------ Michael