Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(S)


     MKNOD(C)                             UNIX System V



     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 /etc/conf/cf.d/mdevice.

          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.


     See Also
          mknod(S)


     Standards Conformance
          mknod is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 2/15/90)                                   MKNOD(C)




































































































































































































































































































































































































































































































































































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