diff options
author | joerg <joerg@FreeBSD.org> | 1996-07-27 17:24:55 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-07-27 17:24:55 +0000 |
commit | 2fbfe9777527db14a4afa673e11a9d9a438b4c4a (patch) | |
tree | 7753e889f3dbb62137bcefd3be88a650c3aaf562 /sbin/mknod/mknod.8 | |
parent | 566ed4fc29e4818030f059f64eb44a20a85d934d (diff) | |
download | FreeBSD-src-2fbfe9777527db14a4afa673e11a9d9a438b4c4a.zip FreeBSD-src-2fbfe9777527db14a4afa673e11a9d9a438b4c4a.tar.gz |
Finally use strtoul() to convert the major an minor numbers, so
proper error-checking can be done, and octal and hexadecimal
numbers are allowed.
Diffstat (limited to 'sbin/mknod/mknod.8')
-rw-r--r-- | sbin/mknod/mknod.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8 index 06ea4f8..52ae02d 100644 --- a/sbin/mknod/mknod.8 +++ b/sbin/mknod/mknod.8 @@ -90,6 +90,13 @@ the node corresponds to on the device; for example, 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 +.Ql 0x +indicates a hexadecimal number, and a leading +.Ql 0 +will cause the number to be interpreted as octal. .Sh SEE ALSO .Xr mknod 2 , .Xr MAKEDEV 8 |