lkml.org 
[lkml]   [2002]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Core dump file control
Jakob Østergaard wrote:
>
> On Thu, Feb 14, 2002 at 11:10:55AM -0500, Michael Sinz wrote:
> > I have, for a long time, wished that Linux had a way to specify where
> > core dumps are stored and what the name of the core dump is. Now that
> > I have been building large linux clusters with many diskless nodes,
> > this need has become even more important.
> ...
>
> I just wanted to throw in my 0.02 Euro on this one:
>
> I have not yet tested your patch yet - but this functionality is *very*
> important to my company as well.
>
> Anyone developing applications with multiple processes will benefit
> significantly from having core files named differnetly than just "core".

That was my first need (%N.core is what I used on a different platform)
However, being able to specify a few more items really provides much more
flexibility.

> A patch was included in the kernel some time ago, to allow the appending of the
> PID - however, this is not really good enough. It's better than nothing, but
> it's not good.
>
> What I want is "core.[process name]" eventually with a ".[pid]" appended. A
> flexible scheme like your patch implements is very nice. Actually having
> the core files in CWD is fine for me - I mainly care about the file name.
>
> Furthermore, the patch that went in earlier is *horrible* code. Let me give a
> few examples:

I had noticed that - it was rather poor - and rather strange. I hope
people like my patch a bit better.

--
Michael Sinz ---- Worldgate Communications ---- msinz@wgate.com
A master's secrets are only as good as
the master's ability to explain them to others.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.060 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site