On Thu, Aug 19, 2010 at 11:32:31AM -0700, Jack Bates wrote: > The flock usage and manpage describe how it can be used to wrap one lock > around the execution of one command - can it be used to wrap one lock > around the execution of two commands? I think that ( flock -s 200 # ... commands executed under lock ... ) 200>/var/lock/mylockfile in the man page means more than one command. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html