On 05/31/2013 11:23 AM, C. Michael Pilato wrote:
> On 05/31/2013 10:35 AM, Julian Foad wrote:
>> Just an opinion from general experience in the world of computers.  With
>> any system where some resource is reserved (locked), it can be useful to
>> find out who/what has the lock.  So, a system that tells me the repo is
>> currently locked by which of the following:
>>
>> commit
>> pack
>> freeze
>> ...
>>
>> would be useful, in my opinion.  An output that enumerates one of the
>> above list would be useful.
> 
> Don't most OSes provide tooling for this, though?

Just to clarify, I'm talking about the likes of this:

$ cd ~/tests
$ flock lockfile lsof | grep `pwd`/lockfile
flock     2912   cmpilato    4uW     REG        8,5          0 3500312
/home/cmpilato/tests/lockfile
$


-- 
C. Michael Pilato <cmpil...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to