rfuadmin(8) CLIX rfuadmin(8)
NAME
rfuadmin - Runs the Remote File Sharing notification shell script
SYNOPSIS
rfuadmin message remote_resource [seconds]
DESCRIPTION
The rfuadmin administrative shell script responds to unexpected Remote
File Sharing (RFS) events picked up by the rfudaemon process. Examples of
unexpected events might be broken network connections or forced unmounts.
The rfuadmin command is not intended to be run directly from the shell.
The response to messages received by rfudaemon 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. The rfudaemon executes
rfuadmin, passing it the message disconnect and the name of the
disconnected resource. The rfuadmin command sends the following
message to all terminals using wall(1):
Remote_resource has been disconnected from
the system.
The rfuadmin command then executes fuser to kill all processes
using the resource, unmounts the resource umount 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 that a
local machine has mounted. The processing is similar to processing
for a disconnect.
fuwarn remote_resource seconds
This message notifies rfuadmin that a resource is about to be
unmounted. The rfudaemon sends rfuadmin the fuwarn message, the
resource name, and the number of seconds in which the forced
unmount will occur. The rfuadmin script then sends the following
message to all terminals:
Remote_resource is being removed from the
system in # seconds.
EXAMPLES
The following example will force an unmount of resource CALENDAR:
2/94 - Intergraph Corporation 1
rfuadmin(8) CLIX rfuadmin(8)
rfuadmin fumount CALENDAR
NOTES
The console must be on when RFS is running. If the console is not on,
rfuadmin will hang when it tries to write to the console (wall) and
recovery from disconnected resources will not complete.
EXIT VALUES
The exit values are not valid for this script.
RELATED INFORMATION
Commands: fumount(8), rmount(8), rfudaemon(8), rfstart(8), wall(1)
2 Intergraph Corporation - 2/94