NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/48351 CVS commit: src/usr.bin/flock
On 29 Oct, 2013, at 14:25 , Christos Zoulas <christos%zoulas.com@localhost>
wrote:
> Nope, we need some kernel work I guess:
>
> [2:24pm] 2544>flock -u 0
> Exit 1
> [2:24pm] 2545>flock -s 0
> Exit 1
Ah, maybe it's my fault for not providing a better example. This
seems to work:
$ (
> ./flock -s 0; echo $?
> ./flock -x 0; echo $?
> ./flock -s 0; echo $?
> ./flock -u 0; echo $?
> ) < /tmp/a_file
0
0
0
0
I think the thing being locked might need to be a regular file.
Dennis Ferguson
Home |
Main Index |
Thread Index |
Old Index