svn commit: r198714 - head/sbin/mknod

Christian Brueffer brueffer at FreeBSD.org
Sat Oct 31 12:22:24 UTC 2009


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 at 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,


More information about the svn-src-all mailing list