From owner-freebsd-questions Mon Apr 27 02:57:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA03058 for freebsd-questions-outgoing; Mon, 27 Apr 1998 02:57:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA03049 for ; Mon, 27 Apr 1998 02:57:07 -0700 (PDT) (envelope-from tim@shell.futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id EAA25956; Mon, 27 Apr 1998 04:56:51 -0500 (CDT) Message-ID: <19980427045651.59704@futuresouth.com> Date: Mon, 27 Apr 1998 04:56:51 -0500 From: Tim Tsai To: Karl Pielorz Cc: questions@FreeBSD.ORG Subject: Re: Protecting Shell scripts from deadlocks... References: <35422E96.AFE7E766@tdx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <35422E96.AFE7E766@tdx.co.uk>; from Karl Pielorz on Sat, Apr 25, 1998 at 07:42:30PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 25, 1998 at 07:42:30PM +0100, Karl Pielorz wrote: > I have a small(ish) script which runs on my system quite often... The system > is fairly fast - but I need to make sure that the script isn't run again > whilst there is another copy running... /usr/bin/lockf Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message