From nobody@FreeBSD.org  Tue Sep 29 07:32:03 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3F998106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Sep 2009 07:32:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 2EE038FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Sep 2009 07:32:03 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8T7W27J084466
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Sep 2009 07:32:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n8T7W2cG084465;
	Tue, 29 Sep 2009 07:32:02 GMT
	(envelope-from nobody)
Message-Id: <200909290732.n8T7W2cG084465@www.freebsd.org>
Date: Tue, 29 Sep 2009 07:32:02 GMT
From: pluknet <pluknet@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mknod(8) references /sys/conf/majors
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139230
>Category:       docs
>Synopsis:       mknod(8) references /sys/conf/majors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brueffer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 29 07:40:05 UTC 2009
>Closed-Date:    Fri Jun 10 23:43:15 UTC 2011
>Last-Modified:  Fri Jun 10 23:50:11 UTC 2011
>Originator:     pluknet
>Release:        7.2-RELEASE-p3
>Organization:
>Environment:
>Description:
The mknod(8) manpage still references /sys/conf/majors removed before 6.x:
/usr/src/sbin/mknod/mknod.8:.Pa /usr/src/sys/conf/majors .

>How-To-Repeat:

>Fix:
What about this patch?

Index: sbin/mknod/mknod.8
===================================================================
--- sbin/mknod/mknod.8  (revision 197608)
+++ sbin/mknod/mknod.8  (working copy)
@@ -74,9 +74,7 @@
 .It Ar major
 The major device number is an integer number which tells the kernel
 which device driver entry point to use.
-To learn what
-major device number to use for a particular device, check
-.Pa /usr/src/sys/conf/majors .
+This is a compatibility shim and should be left zero.
 .It Ar minor
 The minor device number tells the kernel which subunit
 the node corresponds to on the device; for example,


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: brueffer 
State-Changed-When: Sat Oct 31 13:22:31 CET 2009 
State-Changed-Why:  
Committed, thanks! 


Responsible-Changed-From-To: freebsd-doc->brueffer 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Sat Oct 31 13:22:31 CET 2009 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139230 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/139230: commit references a PR
Date: Sat, 31 Oct 2009 12:22:37 +0000 (UTC)

 Author: brueffer
 Date: Sat Oct 31 12:22:23 2009
 New Revision: 198714
 URL: http://svn.freebsd.org/changeset/base/198714
 
 Log:
   The majors file was removed long ago, 0 should be used instead.
   
   PR:		139230
   Submitted by:	pluknet <pluknet@gmail.com>
   MFC after:	1 week
 
 Modified:
   head/sbin/mknod/mknod.8
 
 Modified: head/sbin/mknod/mknod.8
 ==============================================================================
 --- head/sbin/mknod/mknod.8	Sat Oct 31 11:23:54 2009	(r198713)
 +++ head/sbin/mknod/mknod.8	Sat Oct 31 12:22:23 2009	(r198714)
 @@ -28,7 +28,7 @@
  .\"     @(#)mknod.8	8.2 (Berkeley) 12/11/93
  .\" $FreeBSD$
  .\"
 -.Dd December 15, 2004
 +.Dd October 31, 2009
  .Dt MKNOD 8
  .Os
  .Sh NAME
 @@ -74,9 +74,7 @@ and pseudo devices, and are type
  .It Ar major
  The major device number is an integer number which tells the kernel
  which device driver entry point to use.
 -To learn what
 -major device number to use for a particular device, check
 -.Pa /usr/src/sys/conf/majors .
 +This is a compatibility shim and should be left zero.
  .It Ar minor
  The minor device number tells the kernel which subunit
  the node corresponds to on the device; for example,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gjb 
State-Changed-When: Fri Jun 10 23:42:57 UTC 2011 
State-Changed-Why:  
MFCd to stable/8 and stable/7. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=139230 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/139230: commit references a PR
Date: Fri, 10 Jun 2011 23:42:15 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Fri Jun 10 23:42:03 2011
 New Revision: 222961
 URL: http://svn.freebsd.org/changeset/base/222961
 
 Log:
   MFC 198714 [1]:
   
   - The majors file was removed long ago, 0 should be used instead.
   
   PR:		139230
   Original commit by:	brueffer
 
 Modified:
   stable/8/sbin/mknod/mknod.8
 Directory Properties:
   stable/8/sbin/mknod/   (props changed)
 
 Modified: stable/8/sbin/mknod/mknod.8
 ==============================================================================
 --- stable/8/sbin/mknod/mknod.8	Fri Jun 10 23:27:36 2011	(r222960)
 +++ stable/8/sbin/mknod/mknod.8	Fri Jun 10 23:42:03 2011	(r222961)
 @@ -28,7 +28,7 @@
  .\"     @(#)mknod.8	8.2 (Berkeley) 12/11/93
  .\" $FreeBSD$
  .\"
 -.Dd December 15, 2004
 +.Dd October 31, 2009
  .Dt MKNOD 8
  .Os
  .Sh NAME
 @@ -74,9 +74,7 @@ and pseudo devices, and are type
  .It Ar major
  The major device number is an integer number which tells the kernel
  which device driver entry point to use.
 -To learn what
 -major device number to use for a particular device, check
 -.Pa /usr/src/sys/conf/majors .
 +This is a compatibility shim and should be left zero.
  .It Ar minor
  The minor device number tells the kernel which subunit
  the node corresponds to on the device; for example,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/139230: commit references a PR
Date: Fri, 10 Jun 2011 23:43:07 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Fri Jun 10 23:42:49 2011
 New Revision: 222962
 URL: http://svn.freebsd.org/changeset/base/222962
 
 Log:
   MFC 198714 [1]:
   
   - The majors file was removed long ago, 0 should be used instead.
   
   PR:		139230
   Original commit by:	brueffer
 
 Modified:
   stable/7/sbin/mknod/mknod.8
 Directory Properties:
   stable/7/sbin/mknod/   (props changed)
 
 Modified: stable/7/sbin/mknod/mknod.8
 ==============================================================================
 --- stable/7/sbin/mknod/mknod.8	Fri Jun 10 23:42:03 2011	(r222961)
 +++ stable/7/sbin/mknod/mknod.8	Fri Jun 10 23:42:49 2011	(r222962)
 @@ -28,7 +28,7 @@
  .\"     @(#)mknod.8	8.2 (Berkeley) 12/11/93
  .\" $FreeBSD$
  .\"
 -.Dd December 15, 2004
 +.Dd October 31, 2009
  .Dt MKNOD 8
  .Os
  .Sh NAME
 @@ -74,9 +74,7 @@ and pseudo devices, and are type
  .It Ar major
  The major device number is an integer number which tells the kernel
  which device driver entry point to use.
 -To learn what
 -major device number to use for a particular device, check
 -.Pa /usr/src/sys/conf/majors .
 +This is a compatibility shim and should be left zero.
  .It Ar minor
  The minor device number tells the kernel which subunit
  the node corresponds to on the device; for example,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
