Subject: Re: /dev/log -> /var/run/logsocket
To: matthew green <firstname.lastname@example.org>
From: Robert Elz <kre@munnari.OZ.AU>
Date: 01/03/1999 01:27:04
Date: Sun, 03 Jan 1999 01:06:10 +1100
From: matthew green <email@example.com>
| where does your definition of what `/var/run' is, come from?
>From ancient history from when it was created initially. I can't help
it that people have seen it there and used it for all kinds of other crud
since (nor that that has been adopted in some sense as the right thing).
| why isn't .pid a solution?
Because I personally detest typing files by "extension". We have directories.
Directories are cheap and easy to use. We ought use them more. This is
neither VMS nor DOS. One directory to keep files containing pids, another
to contain "re-create after reboot" system database type things, and yet
another to hold unix domain sockets for communication with daemons is not
at all an unreasonable thing to ask.
ps: the ".pid" thing is a personal preference, when run was created, it was
to remove all the /etc/*.pid files out of /etc - while the .pid stuff could
have been removed at that time, it wasn't.