From owner-freebsd-questions Sun Apr 14 10:30:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13304.mail.yahoo.com (web13304.mail.yahoo.com [216.136.175.40]) by hub.freebsd.org (Postfix) with SMTP id 10F8137B405 for ; Sun, 14 Apr 2002 10:30:49 -0700 (PDT) Message-ID: <20020414173048.64741.qmail@web13304.mail.yahoo.com> Received: from [217.5.80.252] by web13304.mail.yahoo.com via HTTP; Sun, 14 Apr 2002 19:30:48 CEST Date: Sun, 14 Apr 2002 19:30:48 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= Subject: Re: S/Key - this is embarrasing. To: Patrick O'Reilly , FreeBSD-questions In-Reply-To: <200204140023.47428@.perimeter.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Patrick O'Reilly schrieb: > On Sat 13 Apr 02 21:05, m p wrote: > > Hi John, > > > > I wanted to correct a statement with that question. It was: "no other > > unices were using files with process ids". They are doing it - but in > > the rc.d scripts (it is hidden from the user). > > > > Marc, > > I am aware that the rc.d script just wrap up the kill to the blood off > the user's fingers :) > > When I said "I'm not aware of other Unices that use this convention ( > kill SIGHUP /var/run/${procname}.pid )." I was focussing on the > convention of creating a file in /var/run/ which notes the pid in use > by the daemon. > > Again, I might well be wrong in that assumption too. :) > Hi Patrick, RedHat is putting the process id for the applications in the */etc/* directory where the applications configuration lives (i.e. /etc/mail/sendmail.pid) - but they are using the /var/run/{procname}.pid scheme too (i.e. /var/run/httpd.pid). Take a look at: http://www.pathname.com/fhs/2.2/fhs-5.13.html www.pathnames.com is a affiliate group of www.freestandards.org - a group which tries to standardize the (directory) layout for unix-like operating systems (primary Linux). According to that document the way */etc/*/{procname}.pid is the "old" way for linux systems. For HP-UX read (it is valid since HP-UX 10.0): http://devresource.hp.com/STKLI/man/11iv1.5/hier_5.html They are using /var/run/{procname}.pid too. Sun is doing it since Solaris 8. Please read "man filesystem" if you can access a machine with Solaris 8 or read the man page under http://docs.sun.com Yes, you was wrong with that assumption - but noboby knows all. Hope that helps Marc __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Sie brauchen mehr Speicher für Ihre E-Mails? - http://premiummail.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message