Unix Technical Forum

make config(8) forget we ever had NMBCLUSTERS

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 ================================================== ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:00 AM
Ryan McBride
 
Posts: n/a
Default make config(8) forget we ever had NMBCLUSTERS

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");

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com