From: davidsen@tmr.com (bill davidsen)
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] core file naming option
Date: Thu, 27 Sep 2001 12:17:46 -0400 [thread overview]
Message-ID: <200109271617.f8RGHkH08397@deathstar.prodigy.com> (raw)
In-Reply-To: <3BB104A9.3AD512A5@inet.com>
In article <3BB104A9.3AD512A5@inet.com>,
Eli Carter <eli.carter@inet.com> wrote:
| The attached patch adds an option to the build to have core files named
| core.processname, but defaulting to the current behaviour of course.
| For most people the single 'core' file is sufficient, but when the sky
| is falling, it's nice to have more places for it to land. :)
| So, is this something that might go into the kernel, or are their
| philisophical reasons against it? (The patch is against 2.2.19. I
| haven't looked at 2.4.x yet. Let me know if you want a 2.4 or if I
| should send it to Linus, or...)
|
| Questions, comments, etc. welcome,
Since you asked for it... ;-)
While you're adding this feature, and it seems others are adding
similar things, it is *highly* desirable to allow the build to put all
the dumps in one place of desired (my first thought is /var/core) so
that if you get a lot you won't run the system out of disk.
The directory name could be set in /proc/sys/coredir (or somesuch)
with an initial value of "." of course.
Other than that I like the idea, although process "name" could get a
lot of clashes on threads, and pid gets reused. There may be a better
idea, but most of mine are cumbersome. This would really simplify
certain kinds of dump analysis.
--
bill davidsen <davidsen@tmr.com>
"If I were a diplomat, in the best case I'd go hungry. In the worst
case, people would die."
-- Robert Lipe
next prev parent reply other threads:[~2001-09-27 16:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-25 22:26 Eli Carter
2001-09-26 11:30 ` Padraig Brady
2001-09-26 16:22 ` Alan Cox
2001-09-26 17:23 ` Eli Carter
2001-09-28 18:34 ` n0ano
2001-09-28 19:54 ` Eli Carter
2001-09-27 16:17 ` bill davidsen [this message]
2001-09-27 17:09 ` Eli Carter
2001-10-08 21:32 Phil Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200109271617.f8RGHkH08397@deathstar.prodigy.com \
--to=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®