DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd April 2013
hert hert is offline
New User
 
Join Date: Apr 2013
Posts: 1
Default dump cores in custom folder ?

How can I enable core dumps for all users ?
Can the cores be dumped at a custom folder such as /core-dumps ?

I have googled but I only found Linux and FreeBSD methods which apparently are incompatible with OpenBSD.
Reply With Quote
  #2   (View Single Post)  
Old 3rd April 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Hello, and welcome!

Userland core files are written to the working directory if possible. If the program sets the SUID or GUID bits, there is a sysctl to enable writing core files to /var/crash. See the core(5) man page and it's related man pages.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox 4.0.6 adds support for up to 256 host cores J65nko News 0 27th April 2011 12:54 AM
Enhanced Speedstep only works for two CPU cores on FreeBSD 7.1 Android1 FreeBSD General 13 19th April 2009 08:59 PM
Set password for Folder mfaridi FreeBSD Security 6 5th September 2008 10:49 PM
How to detect the frequency of individual cores in a dual core processor? mc_i2020 FreeBSD General 5 18th July 2008 01:46 AM
How to change folder icons for ROX rex FreeBSD General 0 12th May 2008 12:14 AM


All times are GMT. The time now is 12:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick