From 9f8908c9d1af04891dac55c4613c461126a88bce Mon Sep 17 00:00:00 2001 From: jkoshy Date: Fri, 17 Dec 2004 14:36:02 +0000 Subject: Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section describing the changes in device management since FreeBSD 4.0. Reviewed by: ru --- sbin/mknod/mknod.8 | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'sbin/mknod') 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 -- cgit v1.1