Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1119/33

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Add dmamode.
 [jmk] --rw-rw-r-- M 107020 glenda sys 2448 Nov 19 21:10 sys/lib/dist/pc/sub/termrc
	/n/sourcesdump/2005/1119/plan9/sys/lib/dist/pc/sub/termrc:59,64 - 
	/n/sourcesdump/2005/1120/plan9/sys/lib/dist/pc/sub/termrc:59,77
	  	echo add 127.0.0.1 255.255.255.0 
	  } >/net/ipifc/clone
	  
	+ if(~ $#dmamode 0)
	+ 	dmamode=ask
	+ if(~ $dmamode ask){
	+ 	echo -n 'use DMA for ide drives[yes]: '
	+ 	dmamode=`{read}
	+ 	if(~ $#dmamode 0)
	+ 		dmamode=yes
	+ }
	+ if(~ $dmamode yes)
	+ 	for(i in /dev/sd*/ctl)
	+ 		if(test -f $i)
	+ 			{echo dma on; echo rwm on} >$i
	+ 
	  if(~ $installmode ask){
	  	echo -n 'install mode is (text, graphics)[graphics]: '
	  	installmode=`{read}


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.