[comp.unix.wizards] Ram disk driver for 4.2BSD wanted

kg@elan.UUCP (Ken Greer) (04/30/87)

I have 10MB on a Vax (Ultrix 1.1) and nbuf is 1.5MB.  So...

1. Does anyone have a Ram disk driver for 4.2BSD?

2. Does anyone know how to increase nbuf in Ultrix 1.1?
   Nbuf is calculated in the kernal, and not settable 
   in the config file.  All my attempts at adb patching it or 
   related parameters in the kernel have not worked.

Thanx!

Ken Greer
ELAN Computer Group
{ames,bnrmtv,hplabs,steinmetz}!elan!kg

bzs@bu-cs.BU.EDU (Barry Shein) (05/02/87)

Unless something has been done differently in ULTRIX the calculation
for nbuf is skipped if nbuf is non-zero at boot time.

You have to patch the FILE not the image, and re-boot. Use adb -w.  Or
you should be able to re-set it in the declaration in
/sys/conf/param.c as in:

int nbuf = FOO;

	-Barry Shein, Boston University