9fans archive / 1996 / 05 / 39 /    prev next

From: Hans-Peter Bischof bischof@inf...
Subject: host name
Date: Tue, 28 May 1996 03:20:17 -0400



> How to set up hostname in the Plan9?
> There is nothing in /dev/sysname.

% man ndb
 	  ...
          Ndb/cs is a server used by dial(2) to translate network
          names.  Option -f supplies the name of the data base file to
          use, default /lib/ndb/local.  It is started at boot time.
          It finds out what networks are configured by looking for
          /net/*/clone when it starts.  It can also be told about net-
          works by writing to /net/cs a message of the form:

               add net1 net2 ...

          Ndb/cs also sets the system name in /dev/sysname if it can
					      ------------
					      	ndb/cs helps
-hp