[net.unix-wizards] need help to increase NMOUNT

ber (01/06/83)

#N:harpo:12900009:000:794
harpo!ber    Jan  4 19:32:00 1983

I'm looking for help with a kernel problem.
I'd like to increase the number of mounted files systems on my vax 4.1bsd
beyond 15.  When I raised the NMOUNT constant in param.h from 15 to 31
the result was sporadic "panic: memall mfind" crashes under heavy usage.
Examing the appropriate source lead me to believe that the constant
MSWAPX should be equal to NMOUNT (why are there two constants if they
have to be the same?).  I upped MSWAPX to 31 and now instead of
"panic:memall ..." I get "panic: pagein c_page chgd".  Looking at that
code prompted me to ask for help.

A minor bug in mount and umount was observed.  For the record they
truncate and rewrite /etc/mtab for each file system.  Howver, they
don't close it.  After 20 mounts. mtab is truncated but can't be
written.

		brian redman