Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 13:48:20 +0400
From:      Igor Pokrovsky <ip@doom.ctinet.ru>
To:        hackers@freebsd.org
Subject:   lock test from sh script
Message-ID:  <20081017094820.GA2013@doom.ctinet.ru>

next in thread | raw e-mail | index | archive | help
Hi all!

I need to check if file is locked or not (with flock) from a shell
script. I remember there was something but cannot recall what exactly.
And if possible I do not want to write my own test utility even it
is several lines in length)

Thanks,
-ip




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