mknod.2: Refer reader to makedev(3) to build a device ID

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-12-01 12:39:36 -05:00
parent 0382510bc1
commit 6437f56b55
1 changed files with 7 additions and 2 deletions

View File

@ -10,7 +10,7 @@
.\" Modified 2003-04-23 by Michael Kerrisk .\" Modified 2003-04-23 by Michael Kerrisk
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com> .\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
.\" .\"
.TH MKNOD 2 2007-07-26 "Linux" "Linux Programmer's Manual" .TH MKNOD 2 2008-12-01 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
mknod \- create a special or ordinary file mknod \- create a special or ordinary file
.SH SYNOPSIS .SH SYNOPSIS
@ -74,7 +74,11 @@ or
then then
.I dev .I dev
specifies the major and minor numbers of the newly created device 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 If
.I pathname .I pathname
@ -203,5 +207,6 @@ Some of these affect
.BR stat (2), .BR stat (2),
.BR umask (2), .BR umask (2),
.BR unlink (2), .BR unlink (2),
.BR makedev (3),
.BR mkfifo (3), .BR mkfifo (3),
.BR path_resolution (7) .BR path_resolution (7)