On Wed, 15 Mar 2006, Carlos E. R.
¿Are you sure? My 9.3 doesn't mention that syntax, it only talks about DMA:
Yes, I'm quite sure.
# Force DMA mode for selected device. Use pairs <device>:
separated # by space - dma_mode can be "on" (enable default DMA mode), "off" (disable DMA # mode) or any mode supported by hdparm (e.g. "mdma2", "udma5", ...) # Example: "/dev/hdc:off /dev/hdd:udma2" # DEVICES_FORCE_IDE_DMA="/dev/hda:on /dev/hdb:on /dev/hdc:on /dev/hdd:on "
If you have a look at /etc/init.d/boot.idedma, which is the script that sets the DMA modes, you'll see these lines inside the function idedma_main(): # The setting e.g. "/dev/hda:69:-c1:-m16:-u1:-W1:-A1" should be # expanded as "hdparm -d 1 -X 69 -c1 -m16 -u1 -W1 -A1 /dev/hda" which shows the exact format to use. A few lines further down, there's this part where the DMA modes are actually set: # Set DMA mode by hdparm utility if [ -z "$MODE" ] ; then echo "Missing DMA mode for device $DEVICE" rc_failed elif [ $MODE = "off" ] ; then $HDPARM -d 0 "$DEVICE" || rc_failed elif [ $MODE = "on" ] ; then $HDPARM -d 1 "$DEVICE" || rc_failed else $HDPARM -d 1 -X "$MODE" ${OPTIONS:+$OPTIONS} "$DEVICE" || rc_failed fi So, from this, you get to choose either a case-sensitive "on" "off", which will turn on or off the DMA, or you can pass specific options to hdparm. Regards, David Bolt -- Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/ AMD1800 1Gb WinXP/SUSE 9.3 | AMD2400 256Mb SuSE 9.0 | A3010 4Mb RISCOS 3.11 AMD2400(32) 768Mb SUSE 10.0 | RPC600 129Mb RISCOS 3.6 | Falcon 14Mb TOS 4.02 AMD2600(64) 512Mb SUSE 10.0 | A4000 4Mb RISCOS 3.11 | STE 4Mb TOS 1.62