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. Additionally, the environment variable $myip will
be used to provide the location parameter for the announcement.
If this variable is not set, the $sysname will be used. 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:
|
SOURCE
/sys/src/ants/patched/gridlisten1.c |
SEE ALSO
listen1(8) |
BUGS
If the registry announcement fails, the user still needs to interrupt
the listen process |