Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 07:32:02 GMT
From:      pluknet <pluknet@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/139230: mknod(8) references /sys/conf/majors
Message-ID:  <200909290732.n8T7W2cG084465@www.freebsd.org>
Resent-Message-ID: <200909290740.n8T7e5Z0066628@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139230
>Category:       docs
>Synopsis:       mknod(8) references /sys/conf/majors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 29 07:40:05 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909290732.n8T7W2cG084465>