*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> mknod (1)              
Title
Content
Arch
Section
 

Contents


mknod(1M)							     mknod(1M)


NAME    [Toc]    [Back]

     mknod - build special file	or named pipe (FIFO)

SYNOPSIS    [Toc]    [Back]

     mknod name	b | c major minor
     mknod name	p

DESCRIPTION    [Toc]    [Back]

     mknod makes a directory entry and corresponding inode for a special file
     or	named pipe.  The first argument	is the name of the entry to create.

     In	the first form of the command, the second argument is b	if the special
     file describes a block device (disks, tape) or c if it is a character
     device (for example, a tty	line).	The last two arguments are numbers
     specifying	the major device number	and the	minor device number (for
     example, the unit,	drive, or line number).	 They may be either decimal or
     octal.  The assignment of major device numbers is specific	to each
     system.  The information is contained in the system source	file
     /usr/include/sys/major.h.

     You must be the superuser to use this form	of the command.	 The normal
     convention	is to keep all special device files under the /dev directory.

     The second	form of	the mknod command is used to create named pipes
     (a.k.a. FIFOs).  This form	of the command is not restricted to the
     superuser.

SEE ALSO    [Toc]    [Back]

      
      
     mknod(2).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mkfifo Linux make a FIFO special file (a named pipe)
mkfifo HP-UX make FIFO (named pipe) special files
pxfisfifo IRIX Tests for pipe or a FIFO special file
fifo Linux first-in first-out special file, named pipe
mkfifo IRIX make FIFO special file
mknod Tru64 Create a FIFO or special file
mkfifo IRIX make a FIFO special file
mknod FreeBSD build special file
mknod OpenBSD build special file
mkfifo Tru64 Makes FIFO special files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service