Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mknod(1M) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(2)

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 (disks, tape) or c to indicate a character-type (other devices).  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.  They are stored in the system source file conf.c.  You must be the super-user to use this form of the command. 

The second case is used to create a FIFO (named pipe). 

SEE ALSO

mknod(2) in the CX/UX Programmer’s Reference Manual. 
 

CX/UX Administrator’s Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026