Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(2)

makedev(8)

MKNOD(8)  —  MAINTENANCE COMMANDS

NAME

mknod − build special file

SYNOPSIS

/etc/mknod name [ c ] [ b ] major minor
/etc/mknod name p

DESCRIPTION

mknod makes a special file.  The first argument is the name of the entry.  In the first form, the second argument is b if the special file is block-type (disks, tape) or c if it is character-type (other devices).  The last two arguments are numbers specifying the major device type and the minor device (for example, unit, drive, or line number).  Only the super-user is permitted to invoke this form of the mknod command. 

In the second form, mknod makes a named pipe (fifo). 

The first form of mknod is only for use by system configuration people.  Normally you should use /dev/MAKEDEV instead when making special files. 

SEE ALSO

mknod(2), makedev(8)

Sun Release 3.2  —  Last change: 30 April 1986

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