当前位置:网络资源中心文章中心电脑知识电脑入门Solaris教程 → 文章内容

Solaris 中调整 SCSI 参数的方法 (1)

减小字体 增大字体 作者:阿阳  来源:池州电脑论坛  发布时间:2008-5-16 16:29:43
  •   先看看/usr/include/sys/scsi/autoconf.h中有关SCSI_OPTION的参数: #defineSCSI_OPTIONS_DR0x8/*Globaldisconnect/reconnect*/ #defineSCSI_OPTIONS_LINK0x10/*Globallinkedcommands*/ #defineSCSI_OPTIONS_SYNC0x20/*Globalsynchronousxfercapability* #defineSCSI_OPTIONS_PARITY0x40/*Globalparitysupport*/ #defineSCSI_OPTIONS_TAG0x80/*"taggedcommandsupport*/ #defineS
先看看/usr/include/sys/scsi/autoconf.h中有关SCSI_OPTION的参数:

#defineSCSI_OPTIONS_DR0x8/*Globaldisconnect/reconnect*/
#defineSCSI_OPTIONS_LINK0x10/*Globallinkedcommands*/
#defineSCSI_OPTIONS_SYNC0x20/*Globalsynchronousxfercapability*
#defineSCSI_OPTIONS_PARITY0x40/*Globalparitysupport*/
#defineSCSI_OPTIONS_TAG0x80/*"taggedcommandsupport*/
#defineSCSI_OPTIONS_FAST0x100/*"FASTscsisupport*/
#defineSCSI_OPTIONS_WIDE0x200/*"WIDEscsisupport*/
#defineSCSI_OPTIONS_FAST200x400/*"FAST20scsisupport*/

看到了吧,假如你想enable某个function,那就把它add起来(注重是
HEX!),然後在/etc/system中加一行:

setscsi_options=0x(你的数值),
reboot就行啦:)