From owner-freebsd-questions@FreeBSD.ORG Thu Jan 17 01:25:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7656116A417 for ; Thu, 17 Jan 2008 01:25:20 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 3430A13C442 for ; Thu, 17 Jan 2008 01:25:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:63289 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JFJVK-0007Jo-6N for freebsd-questions@freebsd.org; Thu, 17 Jan 2008 02:25:19 +0100 Received: (qmail 97489 invoked from network); 17 Jan 2008 02:25:11 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 17 Jan 2008 02:25:11 +0100 Received: (qmail 74912 invoked by uid 1001); 17 Jan 2008 02:25:11 +0100 Date: Thu, 17 Jan 2008 02:25:11 +0100 From: Erik Trulsson To: "N.J. Thomas" Message-ID: <20080117012511.GA74669@owl.midgard.homeip.net> Mail-Followup-To: "N.J. Thomas" , freebsd-questions@freebsd.org References: <20080117010329.GD6007@ayvali.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080117010329.GD6007@ayvali.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JFJVK-0007Jo-6N. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JFJVK-0007Jo-6N 48438cfc2bfa3f821eb9df9d61294302 Cc: freebsd-questions@freebsd.org Subject: Re: lockfile -- posix compliant? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 01:25:20 -0000 On Wed, Jan 16, 2008 at 08:03:29PM -0500, N.J. Thomas wrote: > Can someone tell me if lockfile(1) is a POSIX-defined utility? I > couldn't tell from the man page or the source code, and I seem to be > having trouble locating info on the web. > > Jens Schweikhardt's excellent page on FreeBSD POSIX Compliance: > > http://people.freebsd.org/~schweikh/posix-utilities-APR-02.html > > doesn't list it, so I am inclined to say that it is not, but I wanted to > be sure. > Considering that lockfile(1) is usually installed as part of procmail, and is not part of the base system of FreeBSD, NetBSD, Solaris or Linux, it seems fairly safe say that lockfile(1) is not defined by POSIX. It might be that you meant lockf(1) though, which is part of the FreeBSD base system. It is not part of either NetBSD, Linux or Solaris though and the FreeBSD manpage makes no mention of standard compliance, which means it is most likely not defined by POSIX either. -- Erik Trulsson ertr1013@student.uu.se