with initscripts >= 6.40.2-10mdk there is a new initscript called
"partmon" which will check some known mountpoints, and if they
exist, it will warn you (with a nice red FAILED) if there is less
than a fixed amount of diskspace.

I've come up with this because Windoze already do this
(graphically..) and I find that it's a good idea.


currently the limits (in KB) are (they are set in
/usr/bin/partmon):

my %partlimits = (
        '/' => 20_000, '/tmp' => 20_000, '/usr' => 50_000,
        '/var' => 50_000, '/boot' => 5_000 );


you have any suggestions? if you all agree that any number is too
high or too low etc, it can be changed.


please bear in mind that the numbers should be sensible mean
values, of course you can disable this (chkconfig --del partmon)
if you often live with tightly configured /, etc, or even change
the numbers. there is no support for configuration files to
change these values because I think the use for a change is too
limited, and since it's perl you may change the values from the
sourcecode if you really want to do so.



-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to