On Monday 09 April 2007 05:34, Carlos E. R. wrote:
> The Sunday 2007-04-08 at 23:15 -0400, Bob S wrote:
> > Back when I was running 10.0 I configured something someplace to clean
> > out my /tmp file when I rebooted. (I shut down every night)
> >
> > Now in 10.2 I cannot remember how I did that. Can someone please refresh
> > the senile old guy?
>
> Do a grep on "/etc/sysconfig" when you don't remember things like that and
> you will find them. The trick is trying to remember which string to search
> for. Let's see:
>
> [EMAIL PROTECTED]:~> grep -i delete /etc/sysconfig/*
> /etc/sysconfig/auditd:# This option is used to determine if rules & watches
> should be deleted on /etc/sysconfig/cron:# Should old preformatted man
> pages (in /var/catman) be deleted? (yes/no)
> /etc/sysconfig/cron:DELETE_OLD_CATMAN=yes
> /etc/sysconfig/cron:# cron.daily can check for old files in tmp-dirs. It
> will delete all files /etc/sysconfig/cron:# be searched and deleted.
> /etc/sysconfig/cron:# In OWNER_TO_KEEP_IN_TMP, you can specify, whose files
> shall not be deleted. /etc/sysconfig/cron:# Should old corefiles they be
> deleted? ("yes" or "no") /etc/sysconfig/cron:DELETE_OLD_CORE=no
> /etc/sysconfig/cron:# be searched and deleted. The frequency is determined
> by MAX_DAYS_IN_LONG_TMP grep: /etc/sysconfig/dhcpd: Permission denied
> /etc/sysconfig/onlineupdate:# If set to "yes" YOU will delete the
> downloaded RPM archives after installing
>
>
>
> So, "cron" has some entries that might be what you are looking for. So,
> let's have a look at "/etc/sysconfig/cron"; for instance:
>
> MAX_DAYS_IN_TMP=30
> TMP_DIRS_TO_CLEAR="/tmp /var/tmp"
>
> etc, etc. There you have the variables Patrick mentioned. :-)
>
Thanks Patrick & Carlos
Much appreciated. That made me remember (until next time)
BTW talking about undeleted un-needed files. I disabled ZMD a while back but I
have about 125m of zmd-messages in /var/log. Guess I could go in and delete
them also, right?
Bob S.
Thanks again guys,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]