How to stop core files in /

Roland Schemers III schemers at vela.acs.oakland.edu
Sun Jun 10 08:10:26 AEST 1990


In article <IaQKjXq00VRUI0xVYB at andrew.cmu.edu> mikem+ at andrew.cmu.edu (Michael Meyer) writes:
>The X server on my decstation 3100's has a nasty habit of crashing and
>dropping a LARGE core file in /.  (*)  I can live with the X server
>restarting itself, but I would prefer not to have my / filesystem filled
>up with the core file.
>

If you have root access try:

su
cp /dev/null /core
chmod 0 /core

That might stop it. By creating a empty core file owned by root and without
any write access to it the program that dumps core might not be able to
create a /core file.

Roland
-- 
Roland J. Schemers III                              Systems Programmer 
schemers at vela.acs.oakland.edu (Ultrix)              Oakland University 
schemers at argo.acs.oakland.edu (VMS)                 Rochester, MI 48309-4401
schemers at oakland (BITNET yuk!)



More information about the Comp.unix.ultrix mailing list