This is a discussion on make config(8) forget we ever had NMBCLUSTERS within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Avoid any painful misconceptions that modifying NMBCLUSTERS is a good idea (since it no longer exists). Index: cmd.c ================================================== ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Avoid any painful misconceptions that modifying NMBCLUSTERS is a good idea (since it no longer exists). Index: cmd.c ================================================== ================= RCS file: /cvs/src/usr.sbin/config/cmd.c,v retrieving revision 1.12 diff -u -r1.12 cmd.c --- cmd.c 4 Jan 2004 18:30:05 -0000 1.12 +++ cmd.c 7 Jun 2004 02:28:48 -0000 @@ -60,7 +60,6 @@ {"exit", Xexit, "", "Exit, without saving changes"}, {"quit", Xquit, "", "Quit, saving current changes"}, {"timezone", Xtimezone, "[mins [dst]]", "Show/change timezone"}, - {"nmbclust", Xnmbclusters, "[number]", "Show/change NMBCLUSTERS"}, {"cachepct", Xbufcachepct, "[number]", "Show/change BUFCACHEPERCENT"}, {"nkmempg", Xnkmempg, "[number]", "Show/change NKMEMPAGES"}, {"shmseg", Xshmseg, "[number]", "Show/change SHMSEG"}, @@ -304,13 +303,6 @@ } else printf("This kernel does not support modification of %s.\n", name); -} - -int -Xnmbclusters(cmd_t *cmd) -{ - int_variable_adjust(cmd, I_NMBCLUSTERS, "nmbclusters"); - return (CMD_CONT); } int Index: config.8 ================================================== ================= RCS file: /cvs/src/usr.sbin/config/config.8,v retrieving revision 1.42 diff -u -r1.42 config.8 --- config.8 7 Jan 2004 19:10:08 -0000 1.42 +++ config.8 7 Jun 2004 02:28:48 -0000 @@ -347,9 +347,6 @@ .Va tz timezone structure. Without arguments, displays its current value. -.It Ic nmbclust Op Ar number -Change the NMBCLUSTERS value. -Without arguments, displays its current value. .It Ic cachepct Op Ar number Change the BUFCACHEPERCENT value. Without arguments, displays its current value. Index: ukc.c ================================================== ================= RCS file: /cvs/src/usr.sbin/config/ukc.c,v retrieving revision 1.12 diff -u -r1.12 ukc.c --- ukc.c 4 Jan 2004 00:47:01 -0000 1.12 +++ ukc.c 7 Jun 2004 02:28:48 -0000 @@ -139,7 +139,6 @@ nopdev = 1; } - check_int(I_NMBCLUSTERS, "NMCLUSTERS"); check_int(I_BUFCACHEPCT, "BUFCACHEPERCENT"); check_int(I_NKMEMPG, "NKMEMPAGES"); check_int(I_SHMSEG, "SHMSEG"); |