Subject: Re: lockf(1) equivalent
To: None <netbsd-users@NetBSD.org>
From: Hanspeter Roth <hampi@rootshell.be>
List: netbsd-users
Date: 04/08/2004 13:00:58
  On Apr 07 at 23:29, Manuel Bouyer spoke:

> On Wed, Apr 07, 2004 at 11:04:13AM +0200, Hanspeter Roth wrote:
> > Hello,
> > 
> > does NetBSD have an equivalent for FreeBSD's lockf(1) or maybe a
> > package equivalent?
> 
> maybe shlock(1) ?

Yes, shlock(1) can be used in a shell script to implement lockf(1).

Just lockf is more convenient. And it can be easily built from the
FreeBSD source.
Would it make sense to create a lockf-package?

-Hanspeter