Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mknod(C) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(S)



     MKNOD(C)                 XENIX System V                  MKNOD(C)



     Name
          mknod - Builds special files.

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

          /etc/mknod name p

          /etc/mknod name s

          /etc/mknod name m

     Description
          mknod makes a directory entry and corresponding inode for a
          special file.  The first argument is the name of the entry.
          In the first case, 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 (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.  Major device numbers can be found in the system
          source file c.c.

          mknod can also be used to create named pipes with the p
          option; semaphores with the s option; and shared data
          (memory) with the m option.

          Only the super-user can use the first form of the syntax.

     System Compatibility
          The s and m options can only be used to create  version 3.0
          semaphores and shared data, not  System V semaphores and
          shared data.

     See Also
          mknod(S)
















     Page 1                                           (printed 8/7/87)



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