NAME
gridlisten1 – start listener and announce to registry

SYNOPSIS
gridlisten [ –d description ] [ –m mountpoint ] addr cmd [ args... ]

/mnt/registry

DESCRIPTION
gridlisten1 has the same basic functionality as listen1(8) but also announces to an inferno registry service mounted at /mnt/registry

The registry service must be mounted previously for the announcement to succeed. The basic parameters and command syntax from listen1(8) also apply. It should be noted that unless the –t flag is used, the registry will need to be mounted by the /lib/namespace file on the system, because the change to user none rebuilds the namespace and the mount of the registry will be lost. The use of –t eliminates the need for this but does mean the listener is run as the invoking user.

EXAMPLES
Mount a registry service and announce a read–only export of Glenda's home directory:
srv –c tcp!registry.9gridchan.org!7675 gridregistry /mnt/registry
gridlisten1 –t –d home –m /n/glen /bin/exportfs –R –r /usr/glenda

SOURCE
/sys/src/ants/patched/gridlisten1.c

SEE ALSO
listen1(8)

BUGS
If the registry announcement fails, no error message or warning is printed