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 unexpected 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 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. rfudaemon executes rfuadmin, passing it the message disconnect and the name of the disconnected resource. rfuadmin sends this message to all terminals using wall(1M): remote_resource has been disconnected from the system. Then it executes fuser(1M) to kill all processes using the resource, unmounts the resource 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 processing 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 terminals: r1emote_resource is being removed from the system in # seconds.
SEE ALSO
fumount(1M), fuser(1M), rfstart(1M), rfudaemon(1M), rmount(1M), wall(1M)
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 disconnected resources will not complete.
SunOS 5.1/SPARC — Last change: 5 Jul 1990