COHERENT help

This page displays the COHERENT help information for mknod.

Listing of available help pages


mknod -- Make a special file or named pipe

/etc/mknod [ -f ] filename type major minor
/etc/mknod [ -f ] filename p

Option
     -f        Forces creation of a new node, even if one of same name already
               exists

In first form of the command, type is `b' for block special or `c' for
character special; major and minor are numbers.  The second form creates a
named pipe with the given filename.

mknod() -- Create a special file

#include <sys/ino.h>
#include <sys/stat.h>
mknod(name, mode, addr)
char *name; int mode, addr;