docs/139230: mknod(8) references /sys/conf/majors

pluknet pluknet at gmail.com
Tue Sep 29 07:40:06 UTC 2009


>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:



More information about the freebsd-doc mailing list