summaryrefslogtreecommitdiffstats
path: root/share/man/man9/make_dev.9
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-09-28 20:15:45 +0000
committered <ed@FreeBSD.org>2008-09-28 20:15:45 +0000
commit3b64cecd5c2923c9f448c44fd0decb39d2e65791 (patch)
tree8b91d1629ac6a37f72cebf109a4816f35056fa38 /share/man/man9/make_dev.9
parent954d43d96810c30de5084004d0e56905298a9378 (diff)
downloadFreeBSD-src-3b64cecd5c2923c9f448c44fd0decb39d2e65791.zip
FreeBSD-src-3b64cecd5c2923c9f448c44fd0decb39d2e65791.tar.gz
Several documentation fixups related to device minor/major numbers:
- Document the minor(3), major(3) and makedev(3) macro's. They also apply to umajor() and uminor() in the kernel, but hopefully we'll sort that out one day. - Briefly dev2unit() inside the make_dev(9) manual page, since this is now the preferred macro to obtain character device unit numbers inside the kernel. - Remove the device_ids(9) manual page. It contains highly inaccurate information, such as a description of the nonexistent major().
Diffstat (limited to 'share/man/man9/make_dev.9')
-rw-r--r--share/man/man9/make_dev.96
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
index 7eb1ecd..b39ca8b 100644
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 8, 2008
+.Dd September 28, 2008
.Os
.Dt MAKE_DEV 9
.Sh NAME
@@ -186,7 +186,9 @@ Both fields are of type
These are designed to replace the
.Fa unit
argument to
-.Fn make_dev .
+.Fn make_dev ,
+which can be obtained with
+.Fn dev2unit .
.Pp
The
.Fn destroy_dev
OpenPOWER on IntegriCloud