Re: core files (was Re: 2.1.131: some quality thoughts)

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 21 Dec 1998 08:10:56 -0500 (EST)


>>>> If anyone cares enough, support this:
>>>>
>>>> echo "core.%c" > /proc/sys/kernel/corename
>
> I cared enough :)

:-)

> Ok.. I've implemented most of this, ie. i now have the file
> /proc/sys/kernel/corename that you can write to in the above fashion.
> Not all the expanding %<whatever> codes are implemented yet, but i'll
> get around to that soon.

Don't worry about it. My concern was that if you used %P for PID
while /bin/ps uses %p, admins would find it harder to remember.

> If anyone is interested in this feature (maybe it could even go
> into the official kernel?) i'll post a patch.

It seems harmless enough, and some people either prefer it or want
compatibility with whatever else they run. We wouldn't have code
for other names already if people didn't want it.

Long term, I think the whole core file idea needs to be tossed in
favor of just starting a debugger.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/