Manual page for mknod(1M)
mknod - make a special file
SYNOPSIS
/usr/sbin/mknod
name
[
b
|
c
major
minor
] [
p
]
AVAILABILITY
SUNWcsu
DESCRIPTION
mknod
makes a directory entry for a special file.
OPTIONS
- b
-
Indicates a block-type special file.
- c
-
Indicates a character-type special file.
- p
-
Used to create a FIFO (named pipe).
- major
-
Specifies the
major
device number.
- minor
-
Specifies the
minor
device number;
can be either decimal or octal.
The assignment of major device numbers is specific to each system.
You must be the super-user to use this form of the command.
- name
-
A special file to be created.
SEE ALSO
ftp.1
in.ftpd.1m
mknod.2
symlink.2
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.
With the advent of physical device naming,
it would be preferable to create a symbolic
link to the physical name of the device (in the
/devices
subtree) rather than using
mknod.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97