Package: heartbeat

The OCF Filesystem agent uses this code to monitor the mounted
filesystems:

list_mounts() {
        if [ -f "/etc/mtab" -a -r "/etc/mtab" ]; then
                cut -d' ' -f1,2,3 </etc/mtab
        else
                $MOUNT | cut -d' ' -f1,3,5
        fi
}

Since what we're interested in is servers which are failing, there's a
chance that mtab will be out of date compared to the kernel status. It
should be checking /proc/mounts when that's available.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to