On Friday 17 October 2008, Igor Pokrovsky wrote:
> 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

Perhaps you mean lockf(3) ?

-- 
Pieter de Goeje

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to