Here's me being clever:

        % echo dma on | tee /dev/sdC0/ctl > /dev/sdD0/ctl

Now, this can be extended by adding "tee" commands as required, but I
can't think of an elegant way to do this depending on the available
DMA-capable drives.  I know that my shell programming tricks
repertoire is very limited, so I presume somebody out there will be
able to enhance the command in a scalable way (we're talking abount
only a few drives, really).

As given, it is all I have had a need for, so I'm quite pleased with
myself :-)

++L

Reply via email to