mknod man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

MKNOD(2)							      MKNOD(2)

NAME
       mknod - make a directory or a special file

SYNOPSIS
       mknod(name, mode, addr)
       char *name;

DESCRIPTION
       Mknod  creates  a  new  file  whose  name is the null-terminated string
       pointed to by name.  The mode of the new file (including directory  and
       special	file  bits) is initialized from mode.  (The protection part of
       the mode is modified by the process's mode mask;	 see  umask(2)).   The
       first  block pointer of the i-node is initialized from addr.  For ordi‐
       nary files and directories addr is normally zero.  In  the  case	 of  a
       special file, addr specifies which special file.

       Mknod may be invoked only by the super-user.

SEE ALSO
       mkdir(1), mknod(1), filsys(5)

DIAGNOSTICS
       Zero  is	 returned  if  the  file has been made; -1 if the file already
       exists or if the user is not the super-user.

ASSEMBLER
       (mknod = 14.)
       sys mknod; name; mode; addr

								      MKNOD(2)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net