Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 19:30:48 +0200 (CEST)
From:      =?iso-8859-1?q?m=20p?= <sumirati@yahoo.de>
To:        Patrick O'Reilly <bsd@perimeter.co.za>, FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: S/Key - this is embarrasing.
Message-ID:  <20020414173048.64741.qmail@web13304.mail.yahoo.com>
In-Reply-To: <200204140023.47428@.perimeter.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
 --- Patrick O'Reilly <bsd@perimeter.co.za> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020414173048.64741.qmail>