lock-breaking ui
John A Meinel
john at arbash-meinel.com
Tue Feb 21 17:16:12 GMT 2006
John Yates wrote:
> John A Meinel wrote:
>
>> I'm guessing that on
>> Windows, you wouldn't be able to break a held lock anyway. (I know you
>> can't do anything to an open file. Can you rename a directory if the
>> file underneath it is open? Maybe, but I'm pretty sure you can't delete it).
>
> I think that you may be referring to the fact that on Windows any open operation
> takes out a "path lock" on every dereferenced name along the path to the target
> file. This semantic is an underpinning of SMB/CIFS. That is in SMB/CIFS the
> abstraction of a file system has no conceptual equivalent to inode numbers / file
> indices. Thus, using only the concepts available within the abstraction, the
> only way to convey the identity of an open file is by its path.
>
> /john
Yeah, so on Windows, you can't break locks, nor do atomic replace. So I
suppose if you can break a Windows lock, that means the client accessing
the branch has truly stopped working. For once, Windows difficult
behavior is a benefit. :)
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060221/343a013a/attachment.pgp
More information about the bazaar
mailing list