Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1128/5

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


Parse new /dev/swap.
 [rsc] --rwxrwxr-x M 374841 rsc sys 1996 Nov 28 09:12 sys/lib/dist/pc/inst/fmtfossil
	/n/sourcesdump/2005/1128/plan9/sys/lib/dist/pc/inst/fmtfossil:58,64 - 
	/n/sourcesdump/2005/1129/plan9/sys/lib/dist/pc/inst/fmtfossil:58,64
	  	}
	  	if(~ $do yes){
	  		fossil/flfmt -y $f
	- 		n=`{cat /dev/swap | sed 's/^[0-9]+\/([0-9]+) .*/\1/'}
	+ 		n=`{cat /dev/swap | grep ' user' | sed 's/^[0-9]+\/([0-9]+) .*/\1/'}
	  		if(test $n -gt 32768)
	  			m=3000	# if have at least 128 user MB, use 24MB for fossil
	  		if not if(test $n -gt 16384)


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.