summaryrefslogtreecommitdiffstats
path: root/sbin/mknod
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-07-30 17:44:36 +0000
committerbde <bde@FreeBSD.org>1996-07-30 17:44:36 +0000
commit07baf622f9f70f70167d85e46f864c093a209c82 (patch)
treeb8de706275d367ba81d8cbbbb5ae8286d77d639c /sbin/mknod
parent5c5a23135ab80cfb989c293e145a0cab84a04e49 (diff)
downloadFreeBSD-src-07baf622f9f70f70167d85e46f864c093a209c82.zip
FreeBSD-src-07baf622f9f70f70167d85e46f864c093a209c82.tar.gz
Document that the major and minor numbers are parsed by strtoul().
Diffstat (limited to 'sbin/mknod')
-rw-r--r--sbin/mknod/mknod.85
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8
index 52ae02d..bbfd073 100644
--- a/sbin/mknod/mknod.8
+++ b/sbin/mknod/mknod.8
@@ -91,8 +91,9 @@ a subunit may be a filesystem partition
or a tty line.
.El
.Pp
-Major and minor device numbers can be given using the normal C
-notation, so that a leading
+Major and minor device numbers can be given in any format acceptable to
+.Xr strtoul 3 ,
+so that a leading
.Ql 0x
indicates a hexadecimal number, and a leading
.Ql 0
OpenPOWER on IntegriCloud