Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section
describing the changes in device management since FreeBSD 4.0. Reviewed by: ru
This commit is contained in:
parent
7b01553c1d
commit
f33e5b1ab2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user