From 6fe4980d4399bb62f3fa11609d93e5bf547d8f11 Mon Sep 17 00:00:00 2001 From: dillon Date: Sun, 9 Dec 2001 01:57:09 +0000 Subject: Allow maxusers to be specified as 0 in the kernel config, which will cause the system to auto-size to between 32 and 512 depending on the amount of memory. MFC after: 1 week --- usr.sbin/config/mkoptions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/config/mkoptions.c') diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index db63431..77f6168 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -81,8 +81,7 @@ options(void) } if (maxusers == 0) { - printf("maxusers not specified; %d assumed\n", users.u_default); - maxusers = users.u_default; + /* printf("maxusers not specified; will auto-size\n"); */ } else if (maxusers < users.u_min) { printf("minimum of %d maxusers assumed\n", users.u_min); maxusers = users.u_min; -- cgit v1.1