[Logwatch-Devel] zz-disk_space local drives
kirk at kaybee.org
Sun Jan 22 19:34:40 MST 2006
On Sun, 22 Jan 2006, Bjorn L. wrote:
> I like the idea of having an option. But I think it might be better
> to have -l be the default. The results of the df command is always
> filtered with grep, the result of which always excludes nfs mounts
> anyway. So if we made -l the default no one would see the difference,
> anyway, except that it avoids the thrashing on the remote system that
> J J Urich mentioned. (So, in the current cvs code, even if you leave
> $local_disk_only uncommented, you will not get any non-local disks
> listed anyway - the script would need to be changed too.)
> In summary, I'm advocating the following:
> - For Linux, use -l -x tmpfs as default options, and remove the
> - For other OSs, use -l or -x or equivalents if they exist; I
> don't know whether they do or not.
> - Provide a variable to override the options to df (independent
> of OS).
Sounds good to me.
Kirk Bauer <kirk at kaybee.org>
http://linux.kaybee.org | www.autorpm.org | www.logwatch.org
More information about the Logwatch-Devel