MKNOD(8) | Maintenance Commands and Procedures | MKNOD(8) |
mknod - make a special file
mknod name b major minor
mknod name c major minor
mknod name p
mknod makes a directory entry for a special file.
The following options are supported:
b
c
p
The following operands are supported:
major
minor
name
See largefile(7) for the description of the behavior of mknod when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
If mknod(2) is used to create a device, the major and minor device numbers are always interpreted by the kernel running on that machine.
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.
September 16, 1996 | OmniOS |