aboutsummaryrefslogtreecommitdiff
path: root/sbin/mknod/mknod.8
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2004-12-17 14:36:02 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2004-12-17 14:36:02 +0000
commitf33e5b1ab24ff04c1025a60f5504b090c10f2f97 (patch)
tree1d4c4d1256dffcf5854e36be94f7523e8bf20cd5 /sbin/mknod/mknod.8
parent7b01553c1de9faf1fbe2fded3483ec999a152e0b (diff)
downloadsrc-f33e5b1ab24ff04c1025a60f5504b090c10f2f97.tar.gz
src-f33e5b1ab24ff04c1025a60f5504b090c10f2f97.zip
Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section
describing the changes in device management since FreeBSD 4.0. Reviewed by: ru
Notes
Notes: svn path=/head/; revision=138978
Diffstat (limited to 'sbin/mknod/mknod.8')
-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 7de2a1b7de58..cc73ec01c623 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