build special files
The mknod command
makes a directory entry and corresponding inode
for a special file.
The first argument is the
of the entry.
In the first case, the second argument is
if the special file is block-type (disks, tape) or
if it is character-type (other devices).
The last two arguments are
numbers specifying the major device type
device (for example, unit, drive, or line number),
which may be either decimal or octal.
Minor numbers must be in the range 0 to 255.
The assignment of major device numbers is specific to each system.
Major device numbers can be found in the system source file
can also be used to create named pipes with the
semaphores with the
shared data (memory)
Only the super user can use the first form of the syntax.
mknod does not understand extended minor device numbers.
It will impose an upper limit of 255 on the minor device number parameter.
mknod is conformant with
AT&T SVID Issue 2.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003