aboutsummaryrefslogtreecommitdiff
path: root/sbin/mknod
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mknod')
-rw-r--r--sbin/mknod/Makefile2
-rw-r--r--sbin/mknod/mknod.88
-rw-r--r--sbin/mknod/mknod.c14
3 files changed, 3 insertions, 21 deletions
diff --git a/sbin/mknod/Makefile b/sbin/mknod/Makefile
index 3a3be17f9cf7..2182f31ca247 100644
--- a/sbin/mknod/Makefile
+++ b/sbin/mknod/Makefile
@@ -1,5 +1,3 @@
-# @(#)Makefile 8.1 (Berkeley) 6/5/93
-
PACKAGE=runtime
PROG= mknod
MAN= mknod.8
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8
index 7bac489f4a2e..fc562e76f0db 100644
--- a/sbin/mknod/mknod.8
+++ b/sbin/mknod/mknod.8
@@ -25,8 +25,6 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)mknod.8 8.2 (Berkeley) 12/11/93
-.\"
.Dd October 3, 2016
.Dt MKNOD 8
.Os
@@ -109,7 +107,7 @@ will cause the number to be interpreted as octal.
The
.Nm
utility can be used to recreate deleted device nodes under a
-.Xr devfs 5
+.Xr devfs 4
mount point by invoking it with only a filename as an argument.
Example:
.Pp
@@ -131,7 +129,7 @@ devices.
As of
.Fx 5.0 ,
device nodes are managed by the device file system
-.Xr devfs 5 ,
+.Xr devfs 4 ,
making the
.Nm
utility superfluous.
@@ -142,7 +140,7 @@ nodes cannot be used to access devices.
.Sh SEE ALSO
.Xr mkfifo 1 ,
.Xr mknod 2 ,
-.Xr devfs 5 ,
+.Xr devfs 4 ,
.Xr chown 8
.Sh HISTORY
A
diff --git a/sbin/mknod/mknod.c b/sbin/mknod/mknod.c
index be7c97cf06fb..a9eb65e7a76c 100644
--- a/sbin/mknod/mknod.c
+++ b/sbin/mknod/mknod.c
@@ -32,20 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char copyright[] =
-"@(#) Copyright (c) 1989, 1993\n\
- The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)mknod.c 8.1 (Berkeley) 6/5/93";
-#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
-
#include <sys/types.h>
#include <sys/stat.h>