Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mknod(1M) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(2)



     mknod(1M)                                               mknod(1M)



     NAME
          mknod - build special file

     SYNOPSIS
          /etc/mknod name c|b major minor
          /etc/mknod name p

     DESCRIPTION
          mknod makes a directory entry and corresponding i-node for a
          special file.  The first argument is the name of the entry.
          In the first case, the second 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 (e.g. unit, drive, or
          line number), which may be either decimal or octal.

          The assignment of major device numbers is specific to each
          system.  They have to be dug out of the system source file
          conf.c.

          mknod can also be used to create fifo's (a.k.a named pipes)
          (second case in ``SYNOPSIS'' above).

     EXAMPLE
               mknod /dev/tty4 c 3 4

          would create file /dev/tty4 as a character special device
          with major number 3 and minor number 4.

     FILES
          /etc/mknod

     SEE ALSO
          mknod(2).





















     Page 1                                        (last mod. 1/15/87)



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