On 2012-01-04, patrick <
0001p...@gmail.com> wrote:
> Since /var has mostly variable data can I delete /var/*
> without any operational or system problems ? Several
Nope. Programs assume that stuff they stick into /var stays there. Eg on
redhat /var/lib/rpm contains all of the package information for the
installed packages. /var/spool contains all of the mail stuff etc. Just
because it is variable does not mean it is not used.
/tmp is used for stuff which is expected to be saved across invocations of
the progexpected.
> directories had max sizes of 4gb which I changed to
> 1gb. Whatever is in there it says it should regenerate
> so I should be able to delete the whole directory and
> let it refill at better max sizes.
Nope, you will find all kinds of stuff dead if you try that.
My /var is 2.5GB in size. .5GB in /var/lib, .5GB in /var/log (which is
error logs etc,) and 1.3 GB in /var/spool (mainly mail spool)
So I would say 1GB is too small.
Why are you worried? Disk space is cheap.
>
> Any ideas ?
>
> THX