Subject: Re: core dump filename format
To: Gandhi woulda smacked you <>
From: Michael Richardson <>
List: tech-userlevel
Date: 09/11/1999 19:27:41
>>>>> "Gandhi" == Gandhi woulda smacked you <> writes:
    Gandhi> On Sat, 11 Sep 1999, Lucio De Re wrote:

    Gandhi> # On Fri, Sep 10, 1999 at 10:45:22AM -0700, Gandhi woulda smacked you wrote:
    Gandhi> # > 
    Gandhi> # > Has anyone given any thought to these files not being named something
    Gandhi> # > that resembles [^s]*core*?  What happens to the nightly system check
    Gandhi> # > that goes out and looks for core files?  You want to run 'file' on
    Gandhi> # > every single file on your disk and have it report back on that?  That's
    Gandhi> # > ludicrous.
    Gandhi> # > 
    Gandhi> # I agree that the *.core format is a convenient one, and consequently is
    Gandhi> # a useful default, but appending .core to user-selected strings by default
    Gandhi> # is more restrictive than the opposite: I can always do that by choice.

    Gandhi> This is the point.  I don't WANT my users hiding core files.  I don't
    Gandhi> WANT to have to run 'file' on every single file in the evening.  It's
    Gandhi> wasteful.  I thought for a while that we'd been trying to IMPROVE
    Gandhi> performance?

  So, perhaps we need to restrict setting the core name to root, unless some
sysctl is set to permit users to do it.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [