Re: Bug#3114: cron.daily/standard script
>>>>> "Michael" == Michael Meskes <meskes@Informatik.RWTH-Aachen.DE> writes:
>>>>> ""alvar" == Alvar Bray <alvar@meiko.co.uk> writes:
Michael> Would it be a good idea to add a line like
Michael> find / -xdev -type f -name core -atime 7 -exec /bin/rm {} \;
Michael> to /etc/crontab?
alvar> I dont think so, I have lots of core files around for
alvar> debugging. Perhaps just mailing a list of them to root might be
alvar> better.
Michael> I agree that mailing is a good solution. However, it seems most of you
Michael> didn't read my proposal carefully enough :-) The -xdev prevents find to go
Michael> to /home on normal systems since it is a different partition. I don't think
Michael> a developer has to have core files on the root partition, does he?
This is quite true however most daemons run from the root partition so
thats where they will barf cores when they die.
Also, in my own case, I have a proper multipartitoned setup to do real
Meiko type work and an 'all in one partiton' setup for hacking around
without breaking the world.
alvar
--
Alvar Bray
Meiko Limited Phone: +44 1454 855222 E-Mail: alvar@meiko.co.uk
650 Aztec West Fax: +44 1454 855223 alvar@netcity.co.uk
Bristol BS12 4SD alvar@debian.org
England
Reply to: