diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 2002-02-17 23:01:20 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 2002-02-17 23:01:20 +0000 |
commit | b569c5852f5e4f0aa2ddc260601cd6dfad2c2c91 (patch) | |
tree | fcfc95b1bb2edb77f0e6206eefb803df7f40bd69 /usr.sbin/config/ukc.h | |
parent | 7beb673ee2a6f26cb92ffbcee12d36dd3f705fd8 (diff) |
Patch from Daniel Lucq <daniel@lucq.org>
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT
and NKMEMPAGES using the config command, instead of recompiling the kernel.
This is the userland part of the patch. I have compiled it on i386, sparc64,
alpha and macppc. -moj ok art@ maja@
Diffstat (limited to 'usr.sbin/config/ukc.h')
-rw-r--r-- | usr.sbin/config/ukc.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.sbin/config/ukc.h b/usr.sbin/config/ukc.h index ef82f1e5501..b8893d2f812 100644 --- a/usr.sbin/config/ukc.h +++ b/usr.sbin/config/ukc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ukc.h,v 1.7 2002/02/16 21:28:01 millert Exp $ */ +/* $OpenBSD: ukc.h,v 1.8 2002/02/17 23:01:19 maja Exp $ */ /* * Copyright (c) 1999-2001 Mats O Jansson. All rights reserved. @@ -50,7 +50,10 @@ #define P_PDEVNAMES 15 #define I_PDEVSIZE 16 #define S_PDEVINIT 17 -#define NLENTRIES 18 +#define I_NMBCLUSTERS 18 +#define I_BUFCACHEPCT 19 +#define I_NKMEMPG 20 +#define NLENTRIES 21 #ifdef UKC_MAIN struct nlist nl[] = { @@ -72,6 +75,9 @@ struct nlist nl[] = { { "_pdevnames" }, { "_pdevnames_size" }, { "_pdevinit" }, + { "_nmbclust" }, + { "_bufcachepercent" }, + { "_nkmempages" }, { NULL }, }; struct nlist knl[] = { @@ -93,6 +99,9 @@ struct nlist knl[] = { { "_pdevnames" }, { "_pdevnames_size" }, { "_pdevinit" }, + { "_nmbclust" }, + { "_bufcachepercent" }, + { "_nkmempages" }, { NULL }, }; int maxdev = 0; |