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 11th September 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default those .core files do take up space ..

Hi again !
Those files ending with .core .. that reside at home or wherever the current directory is -when a respective application is launched- .. what do they serve ? are they a necessity ? they may be unwelcome when on a small size flash disk while those consume hundreds of megabytes ..
Reply With Quote
  #2   (View Single Post)  
Old 11th September 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

See core(5) for a description of what creates them and what they contain, and why they exist.

You can delete them manually or via scripting in /etc/daily.local if you prefer. See daily(8).
Reply With Quote
  #3   (View Single Post)  
Old 11th September 2012
Alphalutra1 Alphalutra1 is offline
Port Guard
 
Join Date: Sep 2008
Posts: 29
Default

You can not coredump by setting "ulimit -c 0" in your .profile. That will stop programs from core-dumping onto the filesystem, but if you want to debug something you'll have to unset it.
Reply With Quote
  #4   (View Single Post)  
Old 11th September 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Oh, thank you; I'd completely forgotten that the controlling shell can limit core dumps. Good point!

(For C shells, the setting would be "limit coredumpsize 0")
Reply With Quote
  #5   (View Single Post)  
Old 12th September 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

jggimi , Alphalutra1 : Thank you very much !!
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
Delete all you like, but it won't free up space ; You've been (de)duped ... J65nko News 2 15th February 2011 11:08 PM
Span Disk Space plexter OpenBSD Packages and Ports 8 20th November 2009 08:06 PM
no space left on drive while installing? knasbas OpenBSD Installation and Upgrading 2 20th July 2009 09:50 PM
Disk space gone missing EricM FreeBSD General 0 26th February 2009 02:25 AM
dhcpd:No Buffer space avaible marsjanq OpenBSD General 8 13th September 2008 07:52 PM


All times are GMT. The time now is 08:37 AM.


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