NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: directory for core dump files

On Sat, Sep 13, 2008 at 02:24:51PM +0100, Adrian Portelli wrote:
> Aleksey Cheusov wrote:
> > Is it possible to configure NetBSD kernel to dump core files to a
> > specified directory?
> > 
> > 'sysctl -a | grep core' doesn't show anything appropriate.
> > 
> What version of NetBSD are you on ?  It's there with 4
> kern.coredump.setid.path = /var/crash/%n.core

kern.coredump.setid.path: Path pattern for set-id coredumps.

..and what if the OP wanted any coredump to end up under some
specified path? Is that possible? How? (I myself could see a
use for this, living with partially tiny quotas on my home,
but with no quota on e.g. /var/tmp). Ok, I could setuid myself :p


Home | Main Index | Thread Index | Old Index