Confirmed.
This doesn't work either:
exec 200>file
Neither does the sample code given in the "flock" man page:
( flock -s 200 # ... commands executed under lock ... ) 200>/var/lock/mylockfile
Confirmed.
This doesn't work either:
exec 200>file
Neither does the sample code given in the "flock" man page:
( lock/mylockfile
flock -s 200
# ... commands executed under lock ...
) 200>/var/