.TH GETREG 1
.SH NAME
getreg - connect to a named registry and acquire its information
.SH SYNOPSIS
g/getreg registryname
.SH DESCRIPTION
dialreg attempts to connect to the named registry and mount the files there as a registry service. This can be either a native inferno registry or a g/toolkit plan9 registry. It uses the same service finding and attaching logic as g/getservice, but if it connects successfully, it mounts the registry at /g/r/$REGNAME/r, harvests the information about connected services from the index to /tmp/grid/info/regbucket, and makes a record of the name and dialstring in /tmp/grid/registries. g/getreg is intended for use for adding additional registries and assumes that there is already a base of information to search in /tmp/grid. To attach an initial seed registry, or a registry that is not indexed, use g/dialreg.
.SH SOURCE
/bin/g
.SH BUGS
If getreg succeeds and a 9p filesystem is mounted, it will be added as a registry even if it is not actually a compatible registry system.
