[Next] [Previous] [Up] [Top] [Contents]

10.1 Special Files

10.1.3 The mknod command

The mknod command is used to build special files, e.g. under SunOS 4.1.X:

# mknod cua0 c 12 128

generates a special file named cua0; it is a character-type device, 12 specifies the terminal controller, and 128 indicates that it will be a dial-out device. This uses the same physical line as ttya, the dial-in device with major and minor numbers 12 and 0, respectively.


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]