|
|
<filepath> source | target <actions> ... ...
This file contains configuration information that is read when the fud(1M) daemon starts. It contains a list of paths to files that fud should monitor, a keyword that describes what fud should check, and an <action>, that is typically a short system command or an invocation of a system script that fud should execute when it notices that something about the file has changed.
By default, these files are located in the /etc/fud.d directory, although a different path and filename can be specified with the -f option to the fud(1M) daemon.
Configuration file entry fields are:
If the value is source, then fud watches for changes in the file being monitored. If the file's modification time or inode number changes (that is, something removes and replaces the file), then fud takes the actions listed in the entry. Typically, these actions convert the information from the file into a corresponding file in the system's Linux environment. For source entries, <filepath> is normally a UNIX personality file.
If the value is target, then fud watches this file to ensure that it continues to exist. If the file is deleted at any point, then fud takes the <actions> listed for the entry to try to rebuild or restore the file. For target entries, <filepath> is normally an LKP or &posr; file.
/etc/mnttab source /etc/fud.d/mtab.awk < /etc/mnttab > /linux/etc/mtabThis line tells fud to monitor the /etc/mnttab file. source in the second field indicates that this file should be monitored as a data source. When fud detects a change, it will run the /etc/fud.d/mtab.awk script to process the /etc/mnttab file and produce the /linux/etc/mtab file. When this awk script finishes, fud updates its internal tables so it knows that the /linux/etc/mtab file is now current.
The next fud.conf line causes the LKP /etc/group symbolic link to be rebuilt if it is lost:
/linux/etc/group target /etc/fud.d/linkdata.sh /unixware/etc/group /linux/etc/group