From 6437f56b55c85caa60e9c4bf9346d833d079a708 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 1 Dec 2008 12:39:36 -0500 Subject: [PATCH] mknod.2: Refer reader to makedev(3) to build a device ID Signed-off-by: Michael Kerrisk --- man2/mknod.2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/man2/mknod.2 b/man2/mknod.2 index 98a0f65e3..43accb5fe 100644 --- a/man2/mknod.2 +++ b/man2/mknod.2 @@ -10,7 +10,7 @@ .\" Modified 2003-04-23 by Michael Kerrisk .\" Modified 2004-06-23 by Michael Kerrisk .\" -.TH MKNOD 2 2007-07-26 "Linux" "Linux Programmer's Manual" +.TH MKNOD 2 2008-12-01 "Linux" "Linux Programmer's Manual" .SH NAME mknod \- create a special or ordinary file .SH SYNOPSIS @@ -74,7 +74,11 @@ or then .I dev specifies the major and minor numbers of the newly created device -special file; otherwise it is ignored. +special file +.RB ( makedev (3) +may be useful to build the value for +.IR dev ); +otherwise it is ignored. If .I pathname @@ -203,5 +207,6 @@ Some of these affect .BR stat (2), .BR umask (2), .BR unlink (2), +.BR makedev (3), .BR mkfifo (3), .BR path_resolution (7)