NetBSD-Users archive

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

Re: directory for core dump files



Antti Kantee wrote:
> On Sat Sep 13 2008 at 14:24:51 +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
> 
> That's, as the name suggests, for setid executables.
> 
> You want either kern.defcorename or, to adjust it for a single running
> process, proc.pid.corename.  See core(5).

Sorry, my bad.  It was a rushed reply :)

adrian.


Home | Main Index | Thread Index | Old Index