Re: core file name: <exec>.core -> core.<exec>

"D'Arcy J.M. Cain" <[email protected]>
Newsgroups gmane.os.netbsd.help
Organization The NetBSD Project
Message-ID <[email protected]>
On Sat, 18 Nov 2006 14:40:31 +0100
Quentin Garnier <[email protected]> wrote:
> > sysctl -w kern.defcorename=core.%n
> > 
> > It's strange that it is not a default.
> 
> Now *that* is a strange thing to say.  I'm curious there:  what could
> possibly be a reason for "core.%n" to make more sense than "%n.core"?

That was my thought too.  In fact, there is a very good reason to have
the current default.  Conventionally, file names have been made up of
the form <differentia>.<genus> IOW the part before the dot is the
description of the specific contents of this file and the part after
describes the type of file.  Some OS's and programs even require this
to find file types or determine what operation to perform on files.

-- 
D'Arcy J.M. Cain <[email protected]>
http://www.NetBSD.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.