The nanny provides a demand-loading service for objects, such as
domains and devices. For each named entity implemented by a
dynamically linked server, nanny watches for references to the entity
and executes a script associated with the name before the lookup is
allowed to complete.
Nanny is an extension that is generally loaded at system boot time.
If the "name" is already present in the name space, nanny does nothing,
unless the -f option is given.
With -f, nanny reinstalls the name.
-n option is used to set the alias used in
nanny touch. Without this option, the alias defaults to
the last component of name. For example,
nanny install /../svc/domains/Sphinx $USER/sphinx/$target/sphinx.rc
is same as the below.
nanny install -n Sphinx /../svc/domains/Sphinx $USER/sphinx/$target/sphinx.rc
install).
nanny install /../svc/fs/ufs $USER/fs/ufs/$target/ufs.rc nanny install /../svc/domains/Sieg $USER/sieg/$target/sieg.rcThis says:
ufs is referred to in
"mount" or some other file system related commands the first time,
nanny executes
script $USER/fs/ufs/$target/ufs.rc.
script $USER/sieg/$target/sieg.rc is executed.
/../svc/nanny to store
aliases.