summaryrefslogtreecommitdiffstats
path: root/sbin/mknod
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2004-12-17 14:36:02 +0000
committerjkoshy <jkoshy@FreeBSD.org>2004-12-17 14:36:02 +0000
commit9f8908c9d1af04891dac55c4613c461126a88bce (patch)
tree1d4c4d1256dffcf5854e36be94f7523e8bf20cd5 /sbin/mknod
parentac7b091a54f42a2c7d16ead6f650e0ccdca1f6c8 (diff)
downloadFreeBSD-src-9f8908c9d1af04891dac55c4613c461126a88bce.zip
FreeBSD-src-9f8908c9d1af04891dac55c4613c461126a88bce.tar.gz
Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section
describing the changes in device management since FreeBSD 4.0. Reviewed by: ru
Diffstat (limited to 'sbin/mknod')
-rw-r--r--sbin/mknod/mknod.827
1 files changed, 26 insertions, 1 deletions
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8
index 7de2a1b..cc73ec0 100644
--- a/sbin/mknod/mknod.8
+++ b/sbin/mknod/mknod.8
@@ -28,7 +28,7 @@
.\" @(#)mknod.8 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
-.Dd December 29, 2003
+.Dd December 15, 2004
.Dt MKNOD 8
.Os
.Sh NAME
@@ -41,6 +41,14 @@
.Ar major minor
.Op Ar owner : Ns Ar group
.Sh DESCRIPTION
+.Bf -symbolic
+The
+.Nm
+utility is deprecated on modern
+.Fx
+systems.
+.Ef
+.Pp
The
.Nm
utility creates device special files.
@@ -118,9 +126,26 @@ The
.Xr chown 8 Ns - Ns
like functionality is specific to
.Fx .
+.Pp
+As of
+.Fx 4.0 ,
+block devices were deprecated in favour of character
+devices.
+As of
+.Fx 5.0 ,
+device nodes are managed by the device file system
+.Xr devfs 5 ,
+making the
+.Nm
+utility superfluous.
+As of
+.Fx 6.0
+device nodes may be created in regular file systems but such
+nodes cannot be used to access devices.
.Sh SEE ALSO
.Xr mkfifo 1 ,
.Xr mknod 2 ,
+.Xr devfs 5 ,
.Xr chown 8
.Sh HISTORY
A
OpenPOWER on IntegriCloud