(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) General Information :
What's a node? What's a host? How do I create a node?
Node and host are synonyms for 'computer.' A node can also refer to a device file like /dev/rdsk/f03ht, your 1.44 MB diskette. The mknod command is used to make a node. It has the form of
 
 mknod name b | c major minor 
 mknod name p

   mknod makes a directory entry for a special file.
name is the special file to be created. The second argument is either b, to indicate a block-type special file, or c, to indicate a character-type. The last two arguments are numbers specifying the major and minor device numbers; these may be either decimal or octal. The assignment of major device numbers is specific to each system. You must be a privileged user to use this form of the command.
The second case is used to create a FIFO (named pipe).


   For example
# mknod test b 100 200
The # is the prompt displayed by the root shell, test is the name of the node you want to create, type can be b for block or c for character.
# mknod p test1
The # is the prompt displayed by the root shell, test1 is the name of the FIFO or named pipe.


<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Next: (Answer) What is a nodename? What is a hostname?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=5
[Search] [Appearance]
This is a Faq-O-Matic 2.721.