diff options
Diffstat (limited to 'sbin/mknod/mknod.8')
-rw-r--r-- | sbin/mknod/mknod.8 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8 index 1e78961fdc2..3c9cd8bd88e 100644 --- a/sbin/mknod/mknod.8 +++ b/sbin/mknod/mknod.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mknod.8,v 1.2 1996/06/23 14:31:03 deraadt Exp $ +.\" $OpenBSD: mknod.8,v 1.3 1996/08/02 11:16:47 deraadt Exp $ .\" $NetBSD: mknod.8,v 1.9 1995/08/10 23:47:32 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -92,6 +92,14 @@ The minor device number tells the kernel which subunit the node corresponds to on the device; for example, a subunit may be a filesystem partition or a tty line. +.Pp +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 +will cause the number to be interpreted as octal. .El .Sh SEE ALSO .Xr mknod 2 , |