rfuadmin(1M) MISC. REFERENCE MANUAL PAGES rfuadmin(1M)
NAME
rfuadmin - Remote File Sharing notification shell script
SYNOPSIS
/etc/rfs/rfuadmin message remote_resource [seconds]
DESCRIPTION
The rfuadmin administrative shell script responds to unex-
pected Remote File Sharing events, such as broken network
connections and forced unmounts, picked up by the rfudaemon
process. This command is not intended to be run directly
from the shell. The response to messages received by rfu-
daemon can be tailored to suit the particular system by
editing the rfuadmin script. The following paragraphs
describe the arguments passed to rfuadmin and the responses.
disconnect remote_resource
A link to a remote resource has been cut. rfudaemon
executes rfuadmin, passing it the message disconnect
and the name of the disconnected resource. rfuadmin
sends this message to all terminals using wall(1):
Remote_resource has been disconnected from the sys-
tem.
Then it executes fuser(1M) to kill all processes
using the resource, unmounts the resource
[umount(1M)] to clean up the kernel, and starts
rmount to try to remount the resource.
fumount remote_resource
A remote server machine has forced an unmount of a
resource a local machine has mounted. The process-
ing is similar to processing for a disconnect.
fuwarn remote_resource seconds
This message notifies rfuadmin that a resource is
about to be unmounted. rfudaemon sends this script
the fuwarn message, the resource name, and the
number of seconds in which the forced unmount will
occur. rfuadmin sends this message to all termi-
nals:
Remote_resource is being removed from the system in
# seconds.
SEE ALSO
fumount(1M), rmount(1M), rfudaemon(1M), rfstart(1M).
wall(1) in the User's Reference Manual.
BUGS
The console must be on when Remote File Sharing is running.
If it's not, rfuadmin will hang when it tries to write to
the console (wall) and recovery from disconected resources
will not complete.
Last change: Remote File Sharing Utilities 1