Bug 100427

Summary: remove mention of NMBCLUSTERS from loader docs
Product: Documentation Reporter: Poul-Henning Kamp <phk>
Component: Books & ArticlesAssignee: Dmitry Morozovsky <marck>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Poul-Henning Kamp 2006-07-17 09:20:20 UTC
	Loader docs still talk about NMBCLUSTERS which has been replaced
	by something else

How-To-Repeat: 
	find /usr/src/sys -print | xargs grep NMBCLUSTERS
Comment 1 Dmitry Morozovsky freebsd_committer freebsd_triage 2006-07-18 08:33:00 UTC
On Mon, 17 Jul 2006, Poul-Henning Kamp wrote:

PK> >Description:
PK> 	Loader docs still talk about NMBCLUSTERS which has been replaced
PK> 	by something else

What about the following patch?

Index: sys/boot/common/help.common
===================================================================
RCS file: /home/ncvs/src/sys/boot/common/help.common,v
retrieving revision 1.41
diff -u -r1.41 help.common
--- sys/boot/common/help.common	22 Sep 2005 15:06:57 -0000	1.41
+++ sys/boot/common/help.common	18 Jul 2006 07:32:04 -0000
@@ -294,7 +294,7 @@
 	Various kernel tunable parameters can be overridden by specifying new 
 	values in the environment.
 
-	set kern.ipc.nmbclusters=<value>	NMBCLUSTERS
+	set kern.ipc.nmbclusters=<value>
 
 		Set the number of mbuf clusters to be allocated.  The value
 		cannot be set below the default determined when the kernel
Index: sys/boot/common/loader.8
===================================================================
RCS file: /home/ncvs/src/sys/boot/common/loader.8,v
retrieving revision 1.85
diff -u -r1.85 loader.8
--- sys/boot/common/loader.8	12 May 2006 04:09:52 -0000	1.85
+++ sys/boot/common/loader.8	18 Jul 2006 07:32:04 -0000
@@ -509,8 +509,6 @@
 Set the number of mbuf clusters to be allocated.
 The value cannot be set below the default
 determined when the kernel was compiled.
-Modifies
-.Dv NMBCLUSTERS .
 .It Va kern.ipc.nsfbufs
 Set the number of
 .Xr sendfile 2
@@ -534,7 +532,7 @@
 this parameter if you need to greatly extend the
 KVM reservation for other resources such as the
 buffer cache or
-.Dv NMBCLUSTERS .
+.Dv kern.ipc.nmbclusters .
 Modifies
 .Dv VM_SWZONE_SIZE_MAX .
 .It Va kern.maxbcache
@@ -547,7 +545,7 @@
 Only mess around with this parameter if you need to
 greatly extend the KVM reservation for other resources
 such as the swap zone or
-.Dv NMBCLUSTERS .
+.Dv kern.ipc.nmbclusters .
 Note that
 the NBUF parameter will override this limit.
 Modifies
Comment 2 Dmitry Morozovsky freebsd_committer freebsd_triage 2006-08-18 09:03:23 UTC
State Changed
From-To: open->patched

Fixed in HEAD. 


Comment 3 Dmitry Morozovsky freebsd_committer freebsd_triage 2006-08-18 09:03:23 UTC
Responsible Changed
From-To: freebsd-doc->marck

Catch followups.
Comment 4 Dmitry Morozovsky freebsd_committer freebsd_triage 2006-08-30 05:54:55 UTC
State Changed
From-To: patched->closed

Committed to RELENG_6 too.