Article View: aus.computers.linux
Article #56659Re: Disabling core dumps (Was: Re: Customising RH Kernel)
From: Jurgen Exner
Date: Sat, 25 Jan 1997 00:00
Date: Sat, 25 Jan 1997 00:00
52 lines
2516 bytes
2516 bytes
-- The opinions expressed in this message are my own personal views and do not reflect the official views of Microsoft Corporation Hannu Hyvarinen <hannu@ils.net> wrote in article <5cbr9a$bch@nr1.toronto.istar.net>... > On 22 Jan 1997 23:31:33 -0700, murphy@CS.Arizona.EDU (John B Murphy) > wrote: > > >Jason Stokes <j.stokes@student.anu.edu.au> wrote: > >>Regarding customising the kernel, how do I de-enable core dumps? I hope > >>this isn't a stupid question, but it doesn't seem immediately obvious how > >>this can be accomplished. > >> > > > >This isn't a kernel question. It can be accomplished by using > >your shell. > > > >In bash, add "ulimit -c <corefilesize>" to /etc/profile. > > > >If you have (t)csh users, add "limit coredumpsize <corefilesize>" to > >/etc/csh.cshrc. > > > >Set corefilesize to 0 and you won't get core files. > > > >-- > >Brian Murphy > >murphy@ns.arizona.edu > > > If it is that easy, why isn't it in the operating system as default. > I guess in other words, is there a purpose for core files in the unix > system? Once again, this has nothing to do with the operation system but only with the shell you are using. And different people have different opinions about their defaults. Actually the defaults are defined by those guys, who assemble the distributions. But as you notice, they are really easy to change! And sure, core files are the most valuable tool for trekking down bugs in aborted programs! So any developer would be quite upset, if he can't find his core dumps. jue -- The opinions expressed in this message are my own personal views and do not reflect the official views of Microsoft Corporation
Technical Details
Message-ID:
<01bc0a77$dec3ef60$d69f389d@v-jurgex-main>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bbda57$8581b220$78fbcea0@kahedy.hansen.com.au> <01bbdab6$dc50b380$LocalHost@oldputer> <32e6312d.0@bohm.anu.edu.au> <5c70k5$2jv@lectura.CS.Arizona.EDU> <5cbr9a$bch@nr1.toronto.istar.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100df9,47f256e43a2a9b04 X-Google-Attributes: gid100df9,public X-Google-Thread: f9b51,47f256e43a2a9b04 X-Google-Attributes: gidf9b51,public X-Google-Thread: 102983,47f256e43a2a9b04 X-Google-Attributes: gid102983,public From: "Jurgen Exner" <v-jurgex@microsoft.com> Subject: Re: Disabling core dumps (Was: Re: Customising RH Kernel) Date: 1997/01/25 Message-ID: <01bc0a77$dec3ef60$d69f389d@v-jurgex-main> X-Deja-AN: 212056280 references: <01bbda57$8581b220$78fbcea0@kahedy.hansen.com.au> <01bbdab6$dc50b380$LocalHost@oldputer> <32e6312d.0@bohm.anu.edu.au> <5c70k5$2jv@lectura.CS.Arizona.EDU> <5cbr9a$bch@nr1.toronto.istar.net> organization: Microsoft Corp. newsgroups: aus.computers.linux,comp.os.linux.admin,comp.os.linux.setup