lock-breaking ui

John Yates jyates at netezza.com
Tue Feb 21 15:26:55 GMT 2006


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


More information about the bazaar mailing list