mknod(1M) mknod(1M)
NAME
mknod - make a special file
SYNOPSIS
/sbin/mknod name b | c major minor
/sbin/mknod name p
DESCRIPTION
mknod makes a directory entry for a special file.
In the first case, name is the special file to be created. The second
argument is b to indicate a block-type special file or c to indicate a
character-type. The last two arguments are numbers specifying the
major and minor device numbers; these may be either decimal or octal.
The assignment of major device numbers is specific to each system. You
must be the superuser to use this form of the command.
The second case is used to create a FIFO (named pipe).
NOTES
If mknod is used to create a device in a remote directory (Remote File
Sharing), the major and minor device numbers are interpreted by the
server.
LOCALE
The LCMESSAGES environment variable governs the language in which
message texts are displayed.
If LCMESSAGES is undefined or is defined as the null string, it
defaults to the value of LANG. If LANG is likewise undefined or null,
the system acts as if it were not internationalized.
If any of the locale variables has an invalid value, the system acts
as if none of the variables was set.
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
SEE ALSO
mknod(2).
Page 1 Reliant UNIX 5.44 Printed 11/98