aboutsummaryrefslogtreecommitdiff
path: root/sbin/mknod
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-07-30 17:44:36 +0000
committerBruce Evans <bde@FreeBSD.org>1996-07-30 17:44:36 +0000
commit6ee990e0d5fec85a67fc3d015f8c3c5cdb055122 (patch)
treeb8de706275d367ba81d8cbbbb5ae8286d77d639c /sbin/mknod
parent7c9e694fa7f5a0e1d55d315d0b51d91d3a56e603 (diff)
downloadsrc-6ee990e0d5fec85a67fc3d015f8c3c5cdb055122.tar.gz
src-6ee990e0d5fec85a67fc3d015f8c3c5cdb055122.zip
Document that the major and minor numbers are parsed by strtoul().
Notes
Notes: svn path=/head/; revision=17348
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 52ae02dbee41..bbfd073c8129 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