Xenix max write addr (ulimit)
    Robin Cutshaw 
    robin at medstar.UUCP
       
    Sat Jul 27 11:02:39 AEST 1985
    
    
  
Patch for 1 Meg ulimit follows (tired of dealing with it)...
#adb -w /xenix
*$x
*main+0x39?i			/* mov _u+0x5b4,0800H */
*main+0x3d?x			/* 800 */
*.?w XXXX			/* 800 = XXXX */
*$q
Replace XXXX with the maximum number of 512 byte blocks that may be
written by any user process.  800 = CDLIMIT from <sys/param.h> which
is defined as (1L<<11), which is 1 Meg.  Other sample sizes are :
	1000	(2 Mb)
	2000	(4 Mb)
	4000	(8 Mb)
	8000	(16 Mb)
	ffff	(32 Mb -1 block)
There is no magic size that will suffice in all cases, just what you
wish to live with.
-robin
-- 
----
Robin Cutshaw
uucp:   ...!{akgua,gatech}!medstar!robin
    
    
More information about the Comp.unix.wizards
mailing list