Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ makedbm(1M) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dbm(3)

makedbm(1M)  —  ADMINISTRATOR COMMANDS

NAME

makedbm − make a Network Information Service (NIS) dbm file

SYNOPSIS

/usr/sbin/makedbm [−l] [−s] [−i yp_input_file] [−o yp_output_name]

[−d yp_domain_name] [−m yp_master_name] infile outfile

makedbm [−u dbmfilename]

DESCRIPTION

The makedbm command takes infile and converts it to a pair of files in dbm(3) format, namely outfile.pag and outfile.dir.  Each line of the input file is converted to a single dbm record.  All characters up to the first TAB or SPACE form the key, and the rest of the line is the data.  If a line ends with ‘\’, then the data for that record is continued on to the next line.  It is left for NIS clients to interpret ‘#’; makedbm does not itself treat it as a comment character.  infile can be ‘−’, in which case the standard input is read. 

makedbm is meant to be used in generating dbm files for NIS and it generates a special entry with the key yp_last_modified, which is the date of infile (or the current time, if infile is ‘−’). 

The following options are available:

−l Lowercase.  Convert the keys of the given map to lower case, so that host name matches, for example, can work independent of upper or lower case distinctions. 

−s Secure map.  Accept connections from secure NIS networks only. 

−i yp_input_file
Create a special entry with the key yp_input_file. 

−o yp_output_name
Create a special entry with the key yp_output_name. 

−d yp_domain_name
Create a special entry with the key yp_domain_name. 

−m yp_master_name
Create a special entry with the key yp_master_name.  If no master host name is specified, yp_master_name will be set to the local host name. 

−u dbmfilename
Undo a dbm file.  That is, print out a dbm file one entry per line, with a single space separating keys from values. 

SEE ALSO

dbm(3)

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